reset: the command takes committish
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2012 17:04:22 +0000 (10:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 23:42:23 +0000 (16:42 -0700)
commit13243c2c7a758bb6510ba26d0372f384b5f422ce
treeed04f6f91f46ec6049d3255deb50d3f2a7054758
parent75f5ac04a2984fcf1e4d167047bfb63c5f385d44
reset: the command takes committish

This is not strictly correct, in that resetting selected index
entries from corresponding paths out of a given tree without moving
HEAD is a valid operation, and in such case a tree-ish would suffice.

But the existing code already requires a committish in the codepath,
so let's be consistent with it for now.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reset.c
t/t1512-rev-parse-disambiguation.sh