Subject: Re: [PATCH] diff: allow --color-moved with --no-ext-diff

From: Junio C Hamano <[email-masked]>
Date: Mon, 24 Jun 2024 17:39:30 -0700

René Scharfe <[email-masked]> writes:

>> If we did this instead
>>
>> 	git diff --color --color-moved=zebra --no-renames HEAD >expect &&
>>
>> it would make this a lot more self-contained.
>
> Oh, yes, good idea!  We'd still rely on there being staged differences
> that include moved lines,

Yeah, the primary point of this fix is that the output with
"--no-ext-diff" and configured external diff driver, and without
either, should be the same.  And running the same command twice,
once with and once without these two tweaks, and comparing their
results is exactly what we want to do.