git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Duy Nguyen <pclouds@gmail.com>
Date
May 20, 2013, 10:18 UTC
Message-ID
<CACsJy8Cr7AKxo9sUjMCVQ0=O91L8CRoxD3qrvZczCrBUq4TDzA@mail.gmail.com>
In-Reply-To
<7vmwrvajye.fsf@alter.siamese.dyndns.org>
On Thu, May 16, 2013 at 6:42 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> * 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

Previous: David AguilarNext: Junio C Hamano
Message 3 of 9 in “What's cooking in git.git (May 2013, #04; Wed, 15)”
  1. Junio C HamanoMay 15, 2013
  2. David AguilarMay 16, 2013
  3. Duy NguyenMay 20, 2013
  4. Junio C HamanoMay 20, 2013
  5. Thomas RastMay 21, 2013
  6. Junio C HamanoMay 21, 2013
  7. Duy NguyenMay 27, 2013
  8. Junio C HamanoMay 28, 2013
  9. Felipe ContrerasMay 20, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.