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.