git-prune: quote possibly empty $dryrun as parameter to test
Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
087b6742fc
commit
c3e24a7d46
|
@ -31,7 +31,7 @@ git-prune-packed $dryrun
|
||||||
redundant=$(git-pack-redundant --all)
|
redundant=$(git-pack-redundant --all)
|
||||||
if test "" != "$redundant"
|
if test "" != "$redundant"
|
||||||
then
|
then
|
||||||
if test "" = $dryrun
|
if test "" = "$dryrun"
|
||||||
then
|
then
|
||||||
echo "$redundant" | xargs rm -f
|
echo "$redundant" | xargs rm -f
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue