From: Junio C Hamano Date: Wed, 31 Mar 2021 23:07:37 GMT Subject: Re: [PATCH v5 06/18] diff tests: test that "mode" is passed when sorting Message-ID: In-Reply-To: Ævar Arnfjörð Bjarmason writes: > Piggy-back on the recently added fsck tests for mode comparisons in > mktree and assert that diff-tree also does the right thing in this > implausible scenario. The same comment applies. Just testing the order of "foo" (blob), "foo." (blob), "foo/" (tree), and "foo0" (blob) in two comparisons would be a more realistic test that has more practical value.