Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> 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.