summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-03-20 20:02:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-21 05:09:57 (GMT)
commitce9fbf16e0000ecca92870a90e4b30afcb3917b7 (patch)
treeabad04ae3251030ae598bfb090a978d241b0e659 /object.c
parent8685da42561d16bb01aeaa1a2392459965187925 (diff)
downloadgit-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