summaryrefslogtreecommitdiff
path: root/checkout-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-05 19:44:03 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-05 19:44:03 -0700
commitac83aa2e1fffcb4e7560431ddc15b288dc237634 (patch)
tree04260e7de0a88df848b005663a7f5aa38610a6ef /checkout-index.c
parentbc483d04804888c2da64e4c6685c2860a9041122 (diff)
downloadgit-ac83aa2e1fffcb4e7560431ddc15b288dc237634.tar.gz
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>
Diffstat (limited to 'checkout-index.c')
0 files changed, 0 insertions, 0 deletions