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

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

From: Derrick Stolee <hidden>
Date: 2024-06-28 01:57:55

On 6/27/24 8:59 PM, Elijah Newren wrote:
On Thu, Jun 27, 2024 at 2:46 PM Junio C Hamano [off-list ref] wrote:
quoted
"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.
I agree about the removal of that paragraph, but also there is a
"largest" to "longest" replacement in a few comments that makes sense
to change.

I can send a v3 with these changes.

Thanks,
-Stolee
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help