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 /Documentation | |
parent | Git 1.8.3 (diff) | |
download | tgif-b12ca9631f86adc35b0c03fb5b792cd82c288288.tar.xz |
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 'Documentation')
-rw-r--r-- | Documentation/git.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 9e302b0a60..3e74440a18 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -832,6 +832,13 @@ for further details. as a file path and will try to write the trace messages into it. +'GIT_TRACE_PACK_ACCESS':: + If this variable is set to a path, a file will be created at + the given path logging all accesses to any packs. For each + access, the pack file name and an offset in the pack is + recorded. This may be helpful for troubleshooting some + pack-related performance problems. + GIT_LITERAL_PATHSPECS:: Setting this variable to `1` will cause Git to treat all pathspecs literally, rather than as glob patterns. For example, |