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

Re: [PATCH RFC] cherry: support --abbrev option

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 16, 2010, 01:44 UTC
Message-ID
<7v634xyr9s.fsf@alter.siamese.dyndns.org>
In-Reply-To
<40aa078e1003151650m549bafdbwdd849e23349ce6a9@mail.gmail.com>
Erik Faye-Lund <kusmabite@googlemail.com> writes:
> So, basically, ls-files and ls-tree seems to think
> find_unique_abbrev() does not correctly (for this purpose) handle
> abbrev=0. However, show-ref does seem to assume so.

I think this is merely historical; the former two were written way back before corner case behaviour, namely length=0 case, was cast in stone, and hence they call f-u-a unnecessarily defefnsively.

.
Previous: Erik Faye-LundNext: Junio C Hamano
Message 8 of 10 in “cherry: support --abbrev option”
  1. cherry: support --abbrev optionErik Faye-Lund, Mar 15, 2010
  2. René ScharfeMar 15, 2010
  3. Erik Faye-LundMar 15, 2010
  4. René ScharfeMar 15, 2010
  5. Erik Faye-LundMar 15, 2010
  6. René ScharfeMar 16, 2010
  7. Erik Faye-LundMar 16, 2010
  8. Junio C HamanoMar 16, 2010
  9. Junio C HamanoMar 15, 2010
  10. Erik Faye-LundMar 15, 2010

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.