commit | 65c2e0c349aa5c7f605defb52dc67f1b3658a1b9 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Thu Jun 02 15:20:54 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Thu Jun 02 15:48:33 2005 -0700 |
tree | 011b8aba6186497e2eece190bb560165a9b44f8f | |
parent | 4a62b61939396c512bd7592f800110bddf45af72 [diff] |
[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>