summaryrefslogtreecommitdiff
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-06-20 16:02:28 -0700
committerJunio C Hamano <gitster@pobox.com>2013-06-20 16:02:28 -0700
commit8f0c843aab226225b8ef43e9b2e317bda5ea8f6d (patch)
tree85ae7766a7068daafb39ce1088012f780303252a /Documentation/git.txt
parent01c0615dceb433a5498c7160d67f77a6cc9197bb (diff)
parent1dd278ce60294aa6b3119a469007949c6fde425a (diff)
downloadgit-8f0c843aab226225b8ef43e9b2e317bda5ea8f6d.tar.gz
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/git.txt')
-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,