@matheusbsbs / matheus-bagliano / commits / c3e24a7d46
Fork 0

git-prune: quote possibly empty $dryrun as parameter to test

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Nov 18, 2005 at 11:15 UTC c3e24a7d461abaacc16c014ee427b37ab0102ca7
1 file changed +1 -1
git-prune.sh
+1 -1
@@ -31,7 +31,7 @@ git-prune-packed $dryrun
31 redundant=$(git-pack-redundant --all)
32 if test "" != "$redundant"
33 then
34 - if test "" = $dryrun
34 + if test "" = "$dryrun"
35 then
36 echo "$redundant" | xargs rm -f
37 else