Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: What's cooking in git.git (May 2013, #04; Wed, 15)

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:57:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help