On Thu, May 16, 2013 at 6:42 AM, Junio C Hamano [off-list ref] wrote:
* nd/warn-ambiguous-object-name (2013-05-07) 1 commit
- get_sha1: improve ambiguity warning regarding SHA-1 and ref names
"git cmd <name>", when <name> happens to be a 40-hex string,
directly uses the 40-hex string as an object name, even if a ref
"refs/<some hierarchy>/<name>" exists. This disambiguation order
is unlikely to change, but we should warn about the ambiguity just
like we warn when more than one refs/ hierachies share the same
name.
The message needs to be fixed up, as this is not "refname is
ambiguous".
hm.. how should the message be rephrased? ambiguity of 40-hex string
and a ref path?
--
Duy