Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-03 21:01:16 +0300
committerJunio C Hamano <gitster@pobox.com>2015-08-03 21:01:16 +0300
commit0b9ce18ede8343116f4e5f008c05169f69cafc07 (patch)
tree45791aaa1d553924c74d1a01ffa10dfd463a1adb /Documentation/git.txt
parent9f56db7cafc6a4634b8f2fa70f1c8949f4242df1 (diff)
parent323598387d900263c4980b43b8a96c43cdd7b6c7 (diff)
Merge branch 'jk/pkt-log-pack'
Enhance packet tracing machinery to allow capturing an incoming pack data to a file for debugging. * jk/pkt-log-pack: pkt-line: support tracing verbatim pack contents pkt-line: tighten sideband PACK check when tracing pkt-line: simplify starts_with checks in packet tracing
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index f4cb5cb200..f87d3325f8 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -1009,9 +1009,20 @@ Unsetting the variable, or setting it to empty, "0" or
Enables trace messages for 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".
+ starting with "PACK" (but see 'GIT_TRACE_PACKFILE' below).
See 'GIT_TRACE' for available trace output options.
+'GIT_TRACE_PACKFILE'::
+ Enables tracing of packfiles sent or received by a
+ given program. Unlike other trace output, this trace is
+ verbatim: no headers, and no quoting of binary data. You almost
+ certainly want to direct into a file (e.g.,
+ `GIT_TRACE_PACKFILE=/tmp/my.pack`) rather than displaying it on
+ the terminal or mixing it with other trace output.
++
+Note that this is currently only implemented for the client side
+of clones and fetches.
+
'GIT_TRACE_PERFORMANCE'::
Enables performance related trace messages, e.g. total execution
time of each Git command.