Commit 108f5303 authored by Committed by Junio C Hamano
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 <firstname.lastname@example.org> Helped-by: Duy Nguyen <email@example.com> Signed-off-by: Christian Couder <firstname.lastname@example.org> Signed-off-by: Junio C Hamano <email@example.com>
Showing with 46 additions and 12 deletions