summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2018-08-16 08:13:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-16 10:56:44 -0700
commit108f530385e969feab343b2b8acadeb7bb670009 (patch)
tree311cbc0c573fbb5fc0ef4d6697bb017f3752288f /alloc.c
parentt5320: tests for delta islands (diff)
downloadtgif-108f530385e969feab343b2b8acadeb7bb670009.tar.xz
pack-objects: move tree_depth into 'struct packing_data'
This reduces the size of 'struct object_entry' and therefore makes packing objects more efficient. This also renames cmp_tree_depth() into tree_depth_compare(), as it is more modern to have the name of the compare functions end with "compare". Helped-by: Jeff King <peff@peff.net> Helped-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alloc.c')
0 files changed, 0 insertions, 0 deletions