author | Junio C Hamano <junkio@cox.net> | |
Thu, 2 Jun 2005 22:20:54 +0000 (15:20 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 2 Jun 2005 22:48:33 +0000 (15:48 -0700) | ||
commit | 65c2e0c349aa5c7f605defb52dc67f1b3658a1b9 | |
tree | 011b8aba6186497e2eece190bb560165a9b44f8f | tree | snapshot |
parent | 4a62b61939396c512bd7592f800110bddf45af72 | commit | 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>
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 | blob | history | |
diff.c | diff | blob | history | |
sha1_file.c | diff | blob | history |