chiark / gitweb /
Properly fetch all archive dgit view tags, as we intended.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index b17ed210119318196bfaa6ae26dc5ea94a341531..f494bb4d5a266cd628523c58bbac372d3365e307 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2337,7 +2337,7 @@ END
 
        # OK, now %want is exactly what we want for refs in @specs
        my @fspecs = map {
-           return () if !m/\*$/ && !exists $wantr{"refs/$_"};
+           !m/\*$/ && !exists $wantr{"refs/$_"} ? () :
            "+refs/$_:".lrfetchrefs."/$_";
        } @specs;