author | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Jul 2006 02:44:03 +0000 (19:44 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Jul 2006 02:44:03 +0000 (19:44 -0700) | ||
commit | ac83aa2e1fffcb4e7560431ddc15b288dc237634 | |
tree | 04260e7de0a88df848b005663a7f5aa38610a6ef | tree | snapshot |
parent | bc483d04804888c2da64e4c6685c2860a9041122 | commit | diff |
git-reset: complain and exit upon seeing an unknown parameter.
The check to use "rev-parse --verify" was defeated by the use of
"--default HEAD". "git reset --hard bogus-committish" just
defaulted to reset to the HEAD without complaining.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The check to use "rev-parse --verify" was defeated by the use of
"--default HEAD". "git reset --hard bogus-committish" just
defaulted to reset to the HEAD without complaining.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-reset.sh | diff | blob | history |