projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087b674
)
git-prune: quote possibly empty $dryrun as parameter to test
author
Junio C Hamano
<junkio@cox.net>
Fri, 18 Nov 2005 19:15:40 +0000
(11:15 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 18 Nov 2005 19:16:09 +0000
(11:16 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-prune.sh
patch
|
blob
|
history
diff --git
a/git-prune.sh
b/git-prune.sh
index
aa79807
..
c4de7f5
100755
(executable)
--- 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