aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-06-09 12:22:48 +0700
committerJunio C Hamano <gitster@pobox.com>2013-06-09 16:07:50 -0700
commitb12ca9631f86adc35b0c03fb5b792cd82c288288 (patch)
treef41c4bec41a87c346eeb47962b6957b6fcfb11eb /Documentation/git.txt
parentedca4152560522a431a51fc0a06147fc680b5b18 (diff)
downloadgit-b12ca9631f86adc35b0c03fb5b792cd82c288288.tar.gz
git-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/git.txt')
-rw-r--r--Documentation/git.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 9e302b0a6..3e74440a1 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,