From: Curtis Smith Date: Tue, 13 Oct 2026 06:45:45 GMT Subject: Re: [PATCH v3/RFC 1/1] read-cache: do not trust a size change when conversion is active Message-ID: In-Reply-To: Junio C Hamano writes: > If you two are collaborating outside the mailing list, that would be > fine and I would have no reason to complain. But such collaboration > is invisible to others, of course, so I would like to double-check > that you are not unilaterally taking over the topic. We are not collaborating off the list, and Torsten did not ask me before sending v3. v3 is my v1 patch 1 with the optimization taken out, but it keeps the size_change_is_conclusive() helper. In my reply to you on Saturday I proposed the fix inlined into the condition in ie_modified() instead, with no new function. I would like to keep the topic. v4 follows in this thread: that inlined fix, my tests, a short log message, and Torsten credited with Helped-by. Thanks, Torsten, for the review. From your earlier message: > Wooo, that is surprisingly simple. Even attribute look-up is not > free. How much overhead are we adding to the case where no clean > filter is involved, I wonder? The lookup is the last test in the "changed & DATA_CHANGED" condition, so it runs only for a path whose size changed. A clean tree never reaches it. With no conversion configured, "git status" on 10000 files with a size change takes 26ms on stock git and 24ms with the fix. The full numbers are below the "---" in v4. On Mon, Oct 12, 2026 at 7:29 PM Junio C Hamano wrote: > > Junio C Hamano writes: > > > tboegi@web.de writes: > > > >> From: Torsten Bögershausen > >> ... > >> Signed-off-by: Curtis Allen Smith > >> Signed-off-by: Torsten Bögershausen > > > > How is the collaboration going here, Have you taken over the series, > > or are you two working together on the topic (or I take that your > > intention to CC Curtis is to work together starting with this > > version)? > > > > I am wondering if we want co-authored-by or similar when we lose the > > RFC status. > > If you two are collaborating outside the mailing list, that would be > fine and I would have no reason to complain. But such collaboration > is invisible to others, of course, so I would like to double-check > that you are not unilaterally taking over the topic. Can you > confirm that you are working well together, or say something > similar, before we proceed to other technical points? > > This is a tangent, but it is the reason why my mailer settings > drop into the trash all incoming Git-related messages that are > addressed only to me without CC'ing the list. This forces me to > resist the temptation to collude with selected others behind > closed doors. > > Thanks.