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 8f1164b1f7a5705bda45bc5cc9f4417b42271f18..48a42d93ea132e96d41353da10240286d2443d54 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/;