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

Re: git-ls-files prefix superset problem

From
DMDavid Miller <davem@davemloft.net>
Date
Aug 1, 2006, 05:25 UTC
Message-ID
<20060731.222557.52166634.davem@davemloft.net>
In-Reply-To
<Pine.LNX.4.64.0607312217420.4168@g5.osdl.org>
From: Linus Torvalds <torvalds@osdl.org>
Date: Mon, 31 Jul 2006 22:18:47 -0700 (PDT)
Show 7 quoted lines
> It should be fixed by the recent commit
> 
> 	Fix up some fallout from "setup_git_directory()" cleanup
> 
> that Junio already merged.
> 
> So just update your git again, and everything should be happy.

Yeah, just as you responded I noticed the there was local variable shadowing of "prefix" which causes it to be NULL and thus prune_cache() doesn't get called.

Thanks!
Previous: Linus Torvalds
Message 3 of 3 in “git-ls-files prefix superset problem”
  1. David MillerAug 1, 2006
  2. Linus TorvaldsAug 1, 2006
  3. David MillerAug 1, 2006

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.