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

Re: [PATCH] ls-files: conditionally leave index sparse

From
Derrick Stolee <stolee@gmail.com>
Date
Aug 26, 2025, 16:40 UTC
Message-ID
<c1f2e7b1-7583-4e1e-8f20-584a7a768286@gmail.com>
In-Reply-To
<pull.1955.git.1755274373717.gitgitgadget@gmail.com>
On 8/15/2025 12:12 PM, Derrick Stolee via GitGitGadget wrote:
> From: Derrick Stolee <stolee@gmail.com>
...
Show 5 quoted lines
> Replace this global check to expand the index with a check inside the
> loop for a matched sparse directory. If we see one, then expand the
> index and continue from the current location. This is safe since the
> previous entries in the index did not have any sparse directories and
> thus would remain stable in this expansion.
...>     Here's a small sparse index performance update based on a user report.

I know this is small and somewhat niche, but it hasn't had any review or been picked up in What's Cooking. Could someone please take a look?

Thanks, -Stolee

Previous: Derrick Stolee via GitGitGadgetNext: Derrick Stolee
Message 2 of 6 in “ls-files: conditionally leave index sparse”
  1. ls-files: conditionally leave index sparseDerrick Stolee via GitGitGadget, Aug 15, 2025
  2. Derrick StoleeAug 26, 2025
  3. Derrick StoleeAug 27, 2025
  4. Junio C HamanoAug 28, 2025
  5. Elijah NewrenAug 26, 2025
  6. Junio C HamanoAug 26, 2025

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.