summaryrefslogtreecommitdiff
path: root/t/t4206-log-follow-harder-copies.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-07-12 02:31:57 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-12 10:13:23 -0700
commit90191d37ab08f7c6810fa22804dedb23bade02a1 (patch)
treea3837e993218db769954c6525cb27d3c7ead2a22 /t/t4206-log-follow-harder-copies.sh
parentsha1_loose_object_info: make type lookup optional (diff)
downloadtgif-90191d37ab08f7c6810fa22804dedb23bade02a1.tar.xz
packed_object_info: hoist delta type resolution to helper
To calculate the type of a packed object, we must walk down its delta chain until we hit a true base object with a real type. Most of the code in packed_object_info is for handling this case. Let's hoist it out into a separate helper function, which will make it easier to make the type-lookup optional in the future (and keep our indentation level sane). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4206-log-follow-harder-copies.sh')
0 files changed, 0 insertions, 0 deletions