summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 16:02:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 16:02:28 -0700
commit8f0c843aab226225b8ef43e9b2e317bda5ea8f6d (patch)
tree85ae7766a7068daafb39ce1088012f780303252a /Documentation
parentMerge branch 'fc/show-non-empty-errors-in-test' (diff)
parentgit.txt: document GIT_TRACE_PACKET (diff)
downloadtgif-8f0c843aab226225b8ef43e9b2e317bda5ea8f6d.tar.xz
Merge branch 'nd/traces'
* nd/traces: git.txt: document GIT_TRACE_PACKET core: use env variable instead of config var to turn on logging pack access
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 2e23cbb224..894454609f 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -837,6 +837,19 @@ 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_TRACE_PACKET'::
+ If this variable is set, it shows a trace of all packets
+ coming in or out of a given program. This can help with
+ debugging object negotiation or other protocol issues. Tracing
+ is turned off at a packet starting with "PACK".
+
GIT_LITERAL_PATHSPECS::
Setting this variable to `1` will cause Git to treat all
pathspecs literally, rather than as glob patterns. For example,