Thread (3 messages) 3 messages, 3 authors, 2024-06-28

Re: [PATCH v2 0/5] sparse-index: improve clear_skip_worktree_from_present_files()

From: Elijah Newren <hidden>
Date: 2024-06-28 00:59:29

On Thu, Jun 27, 2024 at 2:46 PM Junio C Hamano [off-list ref] wrote:
"Derrick Stolee via GitGitGadget" [off-list ref] writes:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help