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

Re: [PATCH v2] advice: warn when sparse index expands

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 8, 2024, 19:34 UTC
Message-ID
<xmqqo777ekzj.fsf@gitster.g>
In-Reply-To
<pull.1756.v2.git.1720448038745.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
>     ... This idea has always been in the back of my
>     mind since the sparse index was created, but it didn't make sense
>     initially when only a few builtins could operate without immediately
>     expanding a sparse index to a full one.

Yeah, if this triggered for a command whose operation does require expanding, then that would be annoying to the users.

The phrasing that suggests "git clean" used in this version does look better. I wonder if "git clean" would also have to expand and then trigger this warning, though ;-)

Thanks.
Previous: Derrick Stolee via GitGitGadget
Message 10 of 10 in “advice: warn when sparse index expands”
  1. advice: warn when sparse index expandsDerrick Stolee via GitGitGadget, Jul 3, 2024
  2. Junio C HamanoJul 3, 2024
  3. Derrick StoleeJul 3, 2024
  4. rsbecker@nexbridge.comJul 3, 2024
  5. Junio C HamanoJul 3, 2024
  6. Rubén JustoJul 3, 2024
  7. Elijah NewrenJul 5, 2024
  8. Derrick StoleeJul 8, 2024
  9. advice: warn when sparse index expandsDerrick Stolee via GitGitGadget, Jul 8, 2024
  10. Junio C HamanoJul 8, 2024

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.