X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-gc.sh;h=1597e9f33f5e001995085639a448f1214010b561;hb=2c177a1ca1b82ee6cbaa32521da75b8b1c137a73;hp=2ae235b081ea9829a51758bba5a0d0d64111d32c;hpb=4b7f59af2a5b072a0a3950c956842e4d6223a167;p=git.git diff --git a/contrib/examples/git-gc.sh b/contrib/examples/git-gc.sh index 2ae235b08..1597e9f33 100755 --- 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)