From: Johannes Sixt Date: Sat, 24 Oct 2015 07:49:27 GMT Subject: t3203: --sort=objectsize failure on Windows Message-ID: <562B3807.2030203@kdbg.org> On Windows, I observe a failure of the test case 'git branch `--sort` option' introduced by aedcb7dc (branch.c: use 'ref-filter' APIs). The reason is that the resulting order generated by qsort is unspecified for entries that compare equal. In fact, the test case sorts 4 entries where there are only 2 different values. To achieve a deterministic order, perhaps cmp_ref_sorting() should fall back to alphabetic comparison if the other criterion (when used) compares equal? -- Hannes