diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-06-09 12:22:48 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-09 16:07:50 -0700 |
commit | b12ca9631f86adc35b0c03fb5b792cd82c288288 (patch) | |
tree | f41c4bec41a87c346eeb47962b6957b6fcfb11eb /cache.h | |
parent | edca4152560522a431a51fc0a06147fc680b5b18 (diff) | |
download | git-b12ca9631f86adc35b0c03fb5b792cd82c288288.tar.gz |
core: use env variable instead of config var to turn on logging pack access
5f44324 (core: log offset pack data accesses happened - 2011-07-06)
provides a way to observe pack access patterns via a config
switch. Setting an environment variable looks more obvious than a
config var, especially when you just need to _observe_, and more
inline with other tracing knobs we have.
Document it as it may be useful for remote troubleshooting.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -772,9 +772,6 @@ 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); |