Re: [PATCH v2 0/5] sparse-index: improve clear_skip_worktree_from_present_files()
- From
Elijah Newren <newren@gmail.com>
- Date
- Jun 28, 2024, 00:59 UTC
- Message-ID
- <CABPp-BFLGrPmUq-rhz7K-G5b__U2jeq8SPdfFDrSa6QkjPMnWg@mail.gmail.com>
- In-Reply-To
- <xmqqv81uqcsi.fsf@gitster.g>
On Thu, Jun 27, 2024 at 2:46 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 22 quoted lines
> > "Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > Updates in v2 > > ============= > > > > Thanks to Elijah for a thorough review, leading to valuable improvements. > > > > * I was mistaken that the sparse index was required for this logic to > > happen. This has changed several descriptions across the commit messages. > > * The final lstat() in path_found() was not needed, so is removed in v2. > > This saves even more time and lstat() calls, updating the stats. > > * Elijah created a particularly nasty example for testing, which I include > > in my final patch. He gets a "Helped-by" credit for this. > > * Several comments, variables, and other improvements based on Elijah's > > recommendations. > > > > Thanks, Stolee > > Thanks, both. This round was a pleasant read. > > Let's mark it for 'next' soonish.
Yeah, this version looks pretty good. There was a possible further improvement you suggested, but I think that wouldn't need to hold up this series.
However, there is one paragraph from the commit message of 1/5 that I'd like to see stricken first (or rewritten). Once that's done, I think this series is ready for next.