Use `git for-each-ref' instead of `git-for-each-ref'.
Broken in
8a178bf100d4 "Tag change: Update dgit-repos-policy-debian".
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
my @tagrefs = map { "refs/tags/".$_ } debiantags $vsn, $distro;
printdebug " checking history vsn=$vsn tagrefs=@tagrefs\n";
my @tagrefs = map { "refs/tags/".$_ } debiantags $vsn, $distro;
printdebug " checking history vsn=$vsn tagrefs=@tagrefs\n";
- open F, "-|", qw(git-for-each-ref), @tagrefs;
+ open F, "-|", qw(git for-each-ref), @tagrefs;
$_ = <F>;
close F;
return 1 if defined && m/\S/;
$_ = <F>;
close F;
return 1 if defined && m/\S/;