summaryrefslogtreecommitdiff
path: root/pack-check.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-07-01 00:13:07 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-07-01 05:33:47 (GMT)
commitc62266f37c677c1de7415ac6cf1e2eb6726590e1 (patch)
tree995538e5c635827aee1075b62d8d5b61899bbdb0 /pack-check.c
parentd0efc8a71da1855c705fd2074b219bcb158b6dbd (diff)
downloadgit-c62266f37c677c1de7415ac6cf1e2eb6726590e1.zip
git-c62266f37c677c1de7415ac6cf1e2eb6726590e1.tar.gz
git-c62266f37c677c1de7415ac6cf1e2eb6726590e1.tar.bz2
[PATCH] Avoid unnecessarily inflating and interpreting delta
This teaches packed_delta_info() that it only needs to look at the type of the base object to figure out both type and size of a deltified object. This saves quite a many calls to inflate() when dealing with a deep delta chain. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'pack-check.c')
0 files changed, 0 insertions, 0 deletions