diff options
author | Nicolas Pitre <nico@cam.org> | 2007-03-20 20:02:09 (GMT) |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-21 05:09:57 (GMT) |
commit | ce9fbf16e0000ecca92870a90e4b30afcb3917b7 (patch) | |
tree | abad04ae3251030ae598bfb090a978d241b0e659 /object.c | |
parent | 8685da42561d16bb01aeaa1a2392459965187925 (diff) | |
download | git-ce9fbf16e0000ecca92870a90e4b30afcb3917b7.zip git-ce9fbf16e0000ecca92870a90e4b30afcb3917b7.tar.gz git-ce9fbf16e0000ecca92870a90e4b30afcb3917b7.tar.bz2 |
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>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions