summaryrefslogtreecommitdiff
path: root/t/t4101
diff options
context:
space:
mode:
authorLibravatar Jiang Xin <zhiyou.jx@alibaba-inc.com>2019-02-02 21:30:13 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-04 14:18:24 -0800
commit301117764041101ae228e8e33c12c0b232b06408 (patch)
tree6287b7de285cd6a39f590e76ea41631065e9f054 /t/t4101
parentt5323: test cases for git-pack-redundant (diff)
downloadtgif-301117764041101ae228e8e33c12c0b232b06408.tar.xz
pack-redundant: delay creation of unique_objects
Instead of initializing unique_objects in `add_pack()`, copy from all_objects in `cmp_two_packs()`, when unwanted objects are removed from all_objects. This will save memory (no allocate memory for alt-odb packs), and run `llist_sorted_difference_inplace()` only once when removing ignored objects and removing objects in alt-odb in `scan_alt_odb_packs()`. Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101')
0 files changed, 0 insertions, 0 deletions