diff options
author | Christian Couder <christian.couder@gmail.com> | 2018-08-16 06:13:12 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-16 17:56:44 (GMT) |
commit | 108f530385e969feab343b2b8acadeb7bb670009 (patch) | |
tree | 311cbc0c573fbb5fc0ef4d6697bb017f3752288f /log-tree.c | |
parent | 9eb0986fa0b417911ed126e0d6d12028b9c2044f (diff) | |
download | git-108f530385e969feab343b2b8acadeb7bb670009.zip git-108f530385e969feab343b2b8acadeb7bb670009.tar.gz git-108f530385e969feab343b2b8acadeb7bb670009.tar.bz2 |
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 'log-tree.c')
0 files changed, 0 insertions, 0 deletions