From: Junio C Hamano Date: Sun, 21 Jun 2026 03:58:00 GMT Subject: Re: git-diff in a worktree is an order of magnitude slower? Message-ID: In-Reply-To: Junio C Hamano writes: > I initially thought it was an embarrassing thinko, but after seeing > how .skip_stat_unmatch is used as a 1-based counter (i.e., if the > member says 42, it means it saw 41 paths that were stat-dirty but > without actual content change), I do not think so. > > Now, it is a different matter if such a "dual" purpose "more than a > simple boolean" counter is a good idea. Apparently it confused both > of us in this case ;-). FWIW the patch was done as part of this discussion thread: https://lore.kernel.org/git/20070830063810.GD16312@mellanox.co.il/