aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-05 14:54:57 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-05 14:54:57 -0700
commit96790ca02935791b302cd65a4d092f4cdf5cd21e (patch)
tree450e39507c2024160acf6d85fc965c7cfa1f21f6 /cache.h
parent5d2fc9135a35284176e99708b9b6f32c9e6eb7a2 (diff)
parent1b4bb16b9ec331c91e28d2e3e7dee5070534b6a2 (diff)
downloadgit-96790ca02935791b302cd65a4d092f4cdf5cd21e.tar.gz
git-96790ca02935791b302cd65a4d092f4cdf5cd21e.tar.xz
Merge branch 'jc/pack-order-tweak'
* jc/pack-order-tweak: pack-objects: optimize "recency order" core: log offset pack data accesses happened
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 9e12d5547..f49eaf926 100644
--- a/cache.h
+++ b/cache.h
@@ -773,6 +773,9 @@ extern int parse_sha1_header(const char *hdr, unsigned long *sizep);
/* global flag to enable extra checks when accessing packed objects */
extern int do_check_packed_object_crc;
+/* for development: log offset of pack access */
+extern const char *log_pack_access;
+
extern int check_sha1_signature(const unsigned char *sha1, void *buf, unsigned long size, const char *type);
extern int move_temp_to_file(const char *tmpfile, const char *filename);