author | Bryan Larsen <bryan.larsen@gmail.com> | |
Fri, 8 Jul 2005 23:51:55 +0000 (16:51 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Sat, 9 Jul 2005 00:07:37 +0000 (17:07 -0700) | ||
commit | 7672db20c2060f20b01788e4a4289ebc5f818605 | |
tree | 0b5c5ed90d81628aa03df60ee5116d707f4a0803 | tree | snapshot |
parent | 7558ef89edce07555c6436cfcb98c31388dd99b0 | commit | diff |
[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>
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] | blob |
Documentation/git-write-blob.txt | [deleted file] | blob | history |
Documentation/git.txt | diff | blob | history | |
Makefile | diff | blob | history | |
README | diff | blob | history | |
cache.h | diff | blob | history | |
git-cvsimport-script | diff | blob | history | |
hash-object.c | [new file with mode: 0644] | blob |
sha1_file.c | diff | blob | history | |
update-cache.c | diff | blob | history | |
write-blob.c | [deleted file] | blob | history |