Re: Re* [PATCH] tests: replace mingw_test_cmp with a helper in C
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 8, 2022, 00:03 UTC
- Message-ID
- <xmqq4jxispe9.fsf@gitster.g>
- In-Reply-To
- <22402f5d-c463-acee-f57d-e507f23822ca@web.de>
René Scharfe <l.s.r@web.de> writes:
Show 5 quoted lines
> This test passes even without the changes to diff-no-index.c above. > Because diff.c::diff_fill_oid_info() sets an all-zero object ID for > stdin on both sides, I guess, so the comparison is skipped even though > the data is read already for the first dash and the data size of the > second one is thus zero?
OK, that sounds like a happy accident ;-)