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