summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-11-18 11:15:40 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-18 11:16:09 -0800
commitc3e24a7d461abaacc16c014ee427b37ab0102ca7 (patch)
tree5ac42cdcd343235b4d436f4f0c77695fbb57a6cb
parentgit-am: --binary; document --resume and --binary. (diff)
downloadtgif-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.xz
git-prune: quote possibly empty $dryrun as parameter to test
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-prune.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prune.sh b/git-prune.sh
index aa79807313..c4de7f5f25 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