summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-03-10 23:10:26 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-10 23:10:26 -0800
commit8509fed75d576023f5f2db8542fad102fcc62d4d (patch)
tree3e8e0bf37acd8b5b7b3347391f7ebebcaca4d55a /cache.h
parentMerge branch 'pb/commit-i' (diff)
parentfsck: exit with non-zero status upon errors (diff)
downloadtgif-8509fed75d576023f5f2db8542fad102fcc62d4d.tar.xz
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index ae25759c43..f172d02a65 100644
--- a/cache.h
+++ b/cache.h
@@ -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);