Code

[PATCH] Find size of SHA1 object without inflating everything.
authorJunio C Hamano <junkio@cox.net>
Thu, 2 Jun 2005 22:20:54 +0000 (15:20 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Jun 2005 22:48:33 +0000 (15:48 -0700)
commit65c2e0c349aa5c7f605defb52dc67f1b3658a1b9
tree011b8aba6186497e2eece190bb560165a9b44f8f
parent4a62b61939396c512bd7592f800110bddf45af72
[PATCH] Find size of SHA1 object without inflating everything.

This adds sha1_file_size() helper function and uses it in the
rename/copy similarity estimator.  The helper function handles
deltified object as well.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h
diff.c
sha1_file.c