Code

[PATCH] Avoid unnecessarily inflating and interpreting delta
authorJunio C Hamano <junkio@cox.net>
Fri, 1 Jul 2005 00:13:07 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 1 Jul 2005 05:33:47 +0000 (22:33 -0700)
commitc62266f37c677c1de7415ac6cf1e2eb6726590e1
tree995538e5c635827aee1075b62d8d5b61899bbdb0
parentd0efc8a71da1855c705fd2074b219bcb158b6dbd
[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>
cat-file.c
sha1_file.c