[PATCH] Expose object ID computation functions.
authorBryan Larsen <bryan.larsen@gmail.com>
Fri, 8 Jul 2005 23:51:55 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 9 Jul 2005 00:07:37 +0000 (17:07 -0700)
commit7672db20c2060f20b01788e4a4289ebc5f818605
tree0b5c5ed90d81628aa03df60ee5116d707f4a0803
parent7558ef89edce07555c6436cfcb98c31388dd99b0
[PATCH] Expose object ID computation functions.

This patch makes the first half of write_sha1_file() and
index_fd() externally visible, to allow callers to compute the
object ID without actually storing it in the object database.

[JC demangled the whitespaces himself because he liked the patch
 so much, and reworked the interface to index_fd() slightly,
 taking suggestion from Linus and of his own.]

Signed-off-by: Bryan Larsen <bryan.larsen@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/git-hash-object.txt [new file with mode: 0644]
Documentation/git-write-blob.txt [deleted file]
Documentation/git.txt
Makefile
README
cache.h
git-cvsimport-script
hash-object.c [new file with mode: 0644]
sha1_file.c
update-cache.c
write-blob.c [deleted file]