Subject: Re: [PATCH v2] t7800: fix racy "difftool --dir-diff syncs worktree" test

From: Junio C Hamano <[email-masked]>
Date: Fri, 02 Jan 2026 07:49:52 +0900

"Paul Tarjan via GitGitGadget" <[email-masked]> writes:

> Range-diff vs v1:
>
>  1:  dd5b774451 = 1:  98bc88f336 t7800: fix racy "difftool --dir-diff syncs worktree" test

In other words, absolutely no change?

But that is fine.  It is clear that these changes would work around
the problem with racily clean index entries.

Are there things we could do to help "difftool"?

For example, would it help to add a new option to "git update-index"
so that scripts can say "I updated this file in the working tree,
mark it as potentially racily dirty", and use it in "difftool",
perhaps, or something?

Queued.  Thanks.