author | Nicolas Pitre <nico@cam.org> | |
Tue, 20 Mar 2007 20:02:09 +0000 (16:02 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Mar 2007 05:09:57 +0000 (22:09 -0700) | ||
commit | ce9fbf16e0000ecca92870a90e4b30afcb3917b7 | |
tree | abad04ae3251030ae598bfb090a978d241b0e659 | tree | snapshot |
parent | 8685da42561d16bb01aeaa1a2392459965187925 | commit | diff |
index-pack: use hash_sha1_file()
Use hash_sha1_file() instead of duplicating code to compute object SHA1.
While at it make it accept a const pointer.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Use hash_sha1_file() instead of duplicating code to compute object SHA1.
While at it make it accept a const pointer.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h | diff | blob | history | |
index-pack.c | diff | blob | history | |
sha1_file.c | diff | blob | history |