Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'gf/maint-sh-setup-nongit-ok' into maint
[gitweb.git]
/
contrib
/
examples
/
git-gc.sh
diff --git
a/contrib/examples/git-gc.sh
b/contrib/examples/git-gc.sh
index 2ae235b081ea9829a51758bba5a0d0d64111d32c..1597e9f33f5e001995085639a448f1214010b561 100755
(executable)
--- a/
contrib/examples/git-gc.sh
+++ b/
contrib/examples/git-gc.sh
@@
-9,7
+9,7
@@
SUBDIRECTORY_OK=Yes
. git-sh-setup
no_prune=:
-while
case $# in 0) break ;; esac
+while
test $# != 0
do
case "$1" in
--prune)