summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-08-12 19:33:16 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-12 19:33:16 -0700
commit647377c4c91064fc5001acddd5357467c0da6ef9 (patch)
treeef5ee52aaf3b2f0b8e070153b47b9248aa32eed5 /cache.h
parenteb4541569d4fdfb1cbdf503cfbf433e63d79b663 (diff)
parent8e27364128b091e76059229d4f009bc7f869fa9f (diff)
downloadgit-647377c4c91064fc5001acddd5357467c0da6ef9.tar.gz
Merge branch 'jc/pack-objects'
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index b2ab2088e3..af7740258d 100644
--- a/cache.h
+++ b/cache.h
@@ -244,6 +244,8 @@ extern int move_temp_to_file(const char *tmpfile, char *filename);
extern int has_sha1_pack(const unsigned char *sha1);
extern int has_sha1_file(const unsigned char *sha1);
+extern void *map_sha1_file(const unsigned char *sha1, unsigned long *);
+extern int legacy_loose_object(unsigned char *);
extern int has_pack_file(const unsigned char *sha1);
extern int has_pack_index(const unsigned char *sha1);