commit | 6269b6b676310d9fa2560da49be618372b39acf4 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Mon Jun 18 13:45:56 2012 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jul 09 16:42:22 2012 -0700 |
tree | 1cfc74bf1f6e342000cde5ee18cde1cecb631824 | |
parent | aa1dec9ef6ff184792520eb4539af1555c01604c [diff] |
sha1_name.c: get_describe_name() by definition groks only commits Teach get_describe_name() to pass the disambiguation hint down the callchain to get_short_sha1(). Also add tests to show various syntactic elements that we could take advantage of the object type information to help disambiguration of abbreviated object names. Many of them are marked as broken, and some of them will be fixed in later patches in this series. Signed-off-by: Junio C Hamano <gitster@pobox.com>