aboutsummaryrefslogtreecommitdiff
path: root/contrib/examples/git-gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/git-gc.sh')
-rwxr-xr-xcontrib/examples/git-gc.sh2
1 files changed, 1 insertions, 1 deletions
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)