summaryrefslogtreecommitdiff
path: root/contrib/examples/git-reset.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/git-reset.sh')
-rwxr-xr-xcontrib/examples/git-reset.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/examples/git-reset.sh b/contrib/examples/git-reset.sh
index 1dc606f..bafeb52 100755
--- a/contrib/examples/git-reset.sh
+++ b/contrib/examples/git-reset.sh
@@ -11,7 +11,7 @@ require_work_tree
update= reset_type=--mixed
unset rev
-while case $# in 0) break ;; esac
+while test $# != 0
do
case "$1" in
--mixed | --soft | --hard)