Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-add--interactive: Improve behavior on bogus input
[gitweb.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index 1dc606fbd3fd29f5f4c9928a2518df46109ef449..bafeb52cd113ad8a07ffd1912191f2bc17a7ef7a 100755
(executable)
--- a/
git-reset.sh
+++ b/
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)