chiark / gitweb /
git- prefixes: Fix dgit-repos-policy-debian
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Oct 2016 11:52:32 +0000 (12:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Oct 2016 12:11:13 +0000 (13:11 +0100)
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>
infra/dgit-repos-policy-debian

index 8f1164b..48a42d9 100755 (executable)
@@ -133,7 +133,7 @@ sub vsn_in_our_history ($) {
 
     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/;