From c3e24a7d461abaacc16c014ee427b37ab0102ca7 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 18 Nov 2005 11:15:40 -0800 Subject: [PATCH] git-prune: quote possibly empty $dryrun as parameter to test Signed-off-by: Junio C Hamano --- git-prune.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-prune.sh b/git-prune.sh index aa7980731..c4de7f5f2 100755 --- a/git-prune.sh +++ b/git-prune.sh @@ -31,7 +31,7 @@ git-prune-packed $dryrun redundant=$(git-pack-redundant --all) if test "" != "$redundant" then - if test "" = $dryrun + if test "" = "$dryrun" then echo "$redundant" | xargs rm -f else -- 2.30.2