rev-parse --disambiguate=<prefix>
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2012 21:21:59 +0000 (14:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 23:42:23 +0000 (16:42 -0700)
commit957d74062c1f0e92368aeda335e27d2d61f584f6
tree7b5c5c54cfe2d06d741ec8fcd103f1a8eeddcb38
parentc036c4c5e426cc7ee8070038607edf06ef1d661e
rev-parse --disambiguate=<prefix>

The new option allows you to feed an ambiguous prefix and enumerate
all the objects that share it as a prefix of their object names.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-parse.txt
builtin/rev-parse.c
cache.h
sha1_name.c
t/t1512-rev-parse-disambiguation.sh