diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-05 14:54:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-05 14:54:57 -0700 |
commit | 96790ca02935791b302cd65a4d092f4cdf5cd21e (patch) | |
tree | 450e39507c2024160acf6d85fc965c7cfa1f21f6 /cache.h | |
parent | 5d2fc9135a35284176e99708b9b6f32c9e6eb7a2 (diff) | |
parent | 1b4bb16b9ec331c91e28d2e3e7dee5070534b6a2 (diff) | |
download | git-96790ca02935791b302cd65a4d092f4cdf5cd21e.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |