diff options
author | Jeff King <peff@peff.net> | 2013-07-12 02:31:57 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-12 10:13:23 -0700 |
commit | 90191d37ab08f7c6810fa22804dedb23bade02a1 (patch) | |
tree | a3837e993218db769954c6525cb27d3c7ead2a22 /t/t7512-status-help.sh | |
parent | sha1_loose_object_info: make type lookup optional (diff) | |
download | tgif-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/t7512-status-help.sh')
0 files changed, 0 insertions, 0 deletions