diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-10 23:10:26 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-10 23:10:26 -0800 |
commit | 8509fed75d576023f5f2db8542fad102fcc62d4d (patch) | |
tree | 3e8e0bf37acd8b5b7b3347391f7ebebcaca4d55a /cache.h | |
parent | ce4474b65d9293c889282325dc697f0ddee669e6 (diff) | |
parent | e2b4f63512357d83f1f11bafadb22063e5d56621 (diff) | |
download | git-8509fed75d576023f5f2db8542fad102fcc62d4d.tar.gz |
Merge branch 'jc/fsck'
* jc/fsck:
fsck: exit with non-zero status upon errors
unpack_sha1_file(): detect corrupt loose object files.
fsck: fix broken loose object check.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -281,7 +281,6 @@ char *enter_repo(char *path, int strict); /* Read and unpack a sha1 file into memory, write memory to a sha1 file */ extern int sha1_object_info(const unsigned char *, unsigned long *); -extern void * unpack_sha1_file(void *map, unsigned long mapsize, enum object_type *type, unsigned long *size); extern void * read_sha1_file(const unsigned char *sha1, enum object_type *type, unsigned long *size); extern int hash_sha1_file(void *buf, unsigned long len, const char *type, unsigned char *sha1); extern int write_sha1_file(void *buf, unsigned long len, const char *type, unsigned char *return_sha1); |