aboutsummaryrefslogtreecommitdiff
path: root/git-prune.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-18 11:15:40 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-18 11:16:09 -0800
commitc3e24a7d461abaacc16c014ee427b37ab0102ca7 (patch)
tree5ac42cdcd343235b4d436f4f0c77695fbb57a6cb /git-prune.sh
parent087b6742fcab74f7a53626b98969bed27d288e2b (diff)
downloadgit-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.gz
git-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.xz
git-prune: quote possibly empty $dryrun as parameter to test
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-prune.sh')
-rwxr-xr-xgit-prune.sh2
1 files changed, 1 insertions, 1 deletions
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