diff options
author | Nicolas Pitre <nico@cam.org> | 2007-03-20 16:02:09 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-20 22:09:57 -0700 |
commit | ce9fbf16e0000ecca92870a90e4b30afcb3917b7 (patch) | |
tree | abad04ae3251030ae598bfb090a978d241b0e659 /http.h | |
parent | don't ever allow SHA1 collisions to exist by fetching a pack (diff) | |
download | tgif-ce9fbf16e0000ecca92870a90e4b30afcb3917b7.tar.xz |
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 'http.h')
0 files changed, 0 insertions, 0 deletions