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

Re: What's cooking in git.git (Oct 2011, #04; Wed, 12)

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 12, 2011, 19:05 UTC
Message-ID
<7v62ju9gjc.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20111012190213.GA19578@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> On Wed, Oct 12, 2011 at 11:48:48AM -0700, Junio C Hamano wrote:
>
>> * jk/name-hash-dirent (2011-10-07) 1 commit
>>   (merged to 'next' on 2011-10-11 at e2ea68b)
>>  + fix phantom untracked files when core.ignorecase is set
>
> I didn't see any comment on the original patch, so I assume you're OK
> with the few extra bytes added to each cache entry? Otherwise, I can try
> to retool it to keep the directory entries in a separate hash, so only
> case-insensitive people pay the extra price.
>
> I did a few trivial timings, and the extra bytes didn't seem to make any
> difference.

I tend to agree with you that 8 extra bytes per cache entry wouldn't hurt. I also suspected that the cost of code complexity coming from both maintaining and conditionally looking up a separate hash would outweigh the benefit.

Previous: Jeff KingNext: Jakub Narebski
Message 3 of 8 in “What's cooking in git.git (Oct 2011, #04; Wed, 12)”
  1. Junio C HamanoOct 12, 2011
  2. Jeff KingOct 12, 2011
  3. Junio C HamanoOct 12, 2011
  4. Jakub NarebskiOct 13, 2011
  5. 0/2 Do not search submodules in deep recursive mergeBrad King, Oct 13, 2011
  6. 1/2 submodule: Demonstrate known breakage during recursive mergeBrad King, Oct 13, 2011
  7. 2/2 submodule: Search for merges only at end of recursive mergeBrad King, Oct 13, 2011
  8. Junio C HamanoOct 13, 2011

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.