use strict;
+use Debian::Dgit::Infra; # must precede Debian::Dgit; - can change @INC!
use Debian::Dgit qw(:DEFAULT :policyflags);
setup_sigwarn();
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/;