branch tests: add to --sort tests
commit08bf6a8bc351a720f07e1afecb46b1bfae64c7ab
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 6 Jan 2021 10:01:36 +0000 (6 11:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jan 2021 23:16:56 +0000 (6 15:16 -0800)
treeb56c80ca9a88bfab61c31eec6514126f426dc0c6
parentffdd02a55d994da202acd2c792cc1218bbfa8197
branch tests: add to --sort tests

Further stress the --sort callback in ref-filter.c. The implementation
uses certain short-circuiting logic, let's make sure it behaves the
same way on e.g. name & version sort. Improves a test added in
aedcb7dc75e (branch.c: use 'ref-filter' APIs, 2015-09-23).

I don't think all of this output makes sense, but let's test for the
behavior as-is, we can fix bugs in it in a later commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3203-branch-output.sh