diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-18 11:15:40 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-18 11:16:09 -0800 |
commit | c3e24a7d461abaacc16c014ee427b37ab0102ca7 (patch) | |
tree | 5ac42cdcd343235b4d436f4f0c77695fbb57a6cb | |
parent | git-am: --binary; document --resume and --binary. (diff) | |
download | tgif-c3e24a7d461abaacc16c014ee427b37ab0102ca7.tar.xz |
git-prune: quote possibly empty $dryrun as parameter to test
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | git-prune.sh | 2 |
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 |