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

Unexpected directories from read-tree

From
UMUri Moszkowicz <uri@4refs.com>
Date
Oct 18, 2012, 23:10 UTC
Message-ID
<CAMJd5AQhcvWVwsZHPknAXvNpqnfqdCtx-xUv39Au1=x-1_ExMg@mail.gmail.com>

I'm testing out the sparse checkout feature of Git on my large (14GB) repository and am running into a problem. When I add "dir1/" to sparse-checkout and then run "git read-tree -mu HEAD" I see dir1 as expected. But when I add "dir2/" to sparse-checkout and read-tree again I see dir2 and dir3 appear and they're not nested. If I replace "dir2/" with "dir3/" in the sparse-checkout file, then I see dir1 and dir3 but not dir2 as expected again. How can I debug this problem?

Next: Nguyen Thai Ngoc Duy
Message 1 of 3 in “Unexpected directories from read-tree”
  1. Uri MoszkowiczOct 18, 2012
  2. Nguyen Thai Ngoc DuyOct 19, 2012
  3. Uri MoszkowiczOct 19, 2012

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.