-
- Downloads
[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>
Showing
- Documentation/git-hash-object.txt 36 additions, 0 deletionsDocumentation/git-hash-object.txt
- Documentation/git-write-blob.txt 0 additions, 33 deletionsDocumentation/git-write-blob.txt
- Documentation/git.txt 2 additions, 2 deletionsDocumentation/git.txt
- Makefile 2 additions, 2 deletionsMakefile
- README 2 additions, 2 deletionsREADME
- cache.h 7 additions, 1 deletioncache.h
- git-cvsimport-script 1 addition, 1 deletiongit-cvsimport-script
- hash-object.c 45 additions, 0 deletionshash-object.c
- sha1_file.c 17 additions, 8 deletionssha1_file.c
- update-cache.c 1 addition, 1 deletionupdate-cache.c
- write-blob.c 0 additions, 25 deletionswrite-blob.c
Documentation/git-hash-object.txt
0 → 100644
Documentation/git-write-blob.txt
deleted
100644 → 0
hash-object.c
0 → 100644
write-blob.c
deleted
100644 → 0
Please register or sign in to comment