diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2019-02-02 21:30:17 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-04 14:18:25 -0800 |
commit | 0e37abd2e89d475500e93a6368f1f054ca2fec55 (patch) | |
tree | 5ef0d9ab7626daf784ab2d464e8e45d99fe85da2 /t/t9164-git-svn-dcommit-concurrent.sh | |
parent | pack-redundant: rename pack_list.all_objects (diff) | |
download | tgif-0e37abd2e89d475500e93a6368f1f054ca2fec55.tar.xz |
pack-redundant: consistent sort method
SZEDER reported that test case t5323 has different test result on MacOS.
This is because `cmp_pack_list_reverse` cannot give identical result
when two pack being sorted has the same size of remaining_objects.
Changes to the sorting function will make consistent test result for
t5323.
The new algorithm to find redundant packs is a trade-off to save memory
resources, and the result of it may be different with old one, and may
be not the best result sometimes. Update t5323 for the new algorithm.
Reported-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9164-git-svn-dcommit-concurrent.sh')
0 files changed, 0 insertions, 0 deletions