diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-03 11:01:16 -0700 |
commit | 0b9ce18ede8343116f4e5f008c05169f69cafc07 (patch) | |
tree | 45791aaa1d553924c74d1a01ffa10dfd463a1adb /Documentation/git.txt | |
parent | Merge branch 'mr/rebase-i-customize-insn-sheet' (diff) | |
parent | pkt-line: support tracing verbatim pack contents (diff) | |
download | tgif-0b9ce18ede8343116f4e5f008c05169f69cafc07.tar.xz |
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.txt | 13 |
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. |