Re: [PATCH v2 2/2] tests: replace mingw_test_cmp with a helper in C
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 7, 2022, 19:45 UTC
- Message-ID
- <xmqqillzt1cb.fsf@gitster.g>
- In-Reply-To
- <220907.86r10nl63s.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> But I think that re-raises the point René had in: > https://lore.kernel.org/git/b21d2b60-428f-58ec-28b6-3c617b9f2e45@web.de/
As the primary point of no-index mode was to expose fancy options "git diff" has to comparisons of files outside version control, without having to go through the trouble of upstreaming changes to GNU diff, I do think "--ignore-cr-at-eol" should work fine with it, and René's idea sounds like the best implementation for the test-text-cmp helper command.
Thanks.