Subject: Re: [PATCH v5 06/18] diff tests: test that "mode" is passed when sorting

From: Junio C Hamano <[email-masked]>
Date: Wed, 31 Mar 2021 16:07:37 -0700

Ævar Arnfjörð Bjarmason  <[email-masked]> 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.