Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
xread/xwrite: clip MAX_IO_SIZE to SSIZE_MAX
[gitweb.git]
/
contrib
/
examples
/
git-reset.sh
diff --git
a/contrib/examples/git-reset.sh
b/contrib/examples/git-reset.sh
index 1dc606fbd3fd29f5f4c9928a2518df46109ef449..bafeb52cd113ad8a07ffd1912191f2bc17a7ef7a 100755
(executable)
--- 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)