X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-gc.sh;h=1597e9f33f5e001995085639a448f1214010b561;hb=03c6e97f809e5b89089a2c689d6a319e8d471455;hp=2ae235b081ea9829a51758bba5a0d0d64111d32c;hpb=941fd1c041204f30279c175ca9b7252ffcb52ba2;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)