summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-05-19 16:45:33 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-19 16:45:33 +0900
commitbd96a7871aa65ae461ab70c75d9e76a97af82f4e (patch)
tree1d1fd93b8e04da27bb2d47095722f2d9e82f6a1f /Documentation
parentMerge branch 'js/fsmonitor-refresh-after-discarding-index' (diff)
parenttrace2: add variable description to git.txt (diff)
downloadtgif-bd96a7871aa65ae461ab70c75d9e76a97af82f4e.tar.xz
Merge branch 'ds/trace2-document-env-vars'
Doc update. * ds/trace2-document-env-vars: trace2: add variable description to git.txt
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 6d1f2fd9ae..72adfcc5e2 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -660,6 +660,27 @@ of clones and fetches.
When a curl trace is enabled (see `GIT_TRACE_CURL` above), do not dump
data (that is, only dump info lines and headers).
+`GIT_TR2`::
+ Enables more detailed trace messages from the "trace2" library.
+ Output from `GIT_TR2` is a simple text-based format for human
+ readability.
++
+The `GIT_TR2` variables can take many values. Any value available to
+the `GIT_TRACE` variables is also available to `GIT_TR2`. The `GIT_TR2`
+variables can also specify a Unix Domain Socket. See
+link:technical/api-trace2.html[Trace2 documentation] for full details.
+
+`GIT_TR2_EVENT`::
+ This setting writes a JSON-based format that is suited for machine
+ interpretation. See link:technical/api-trace2.html[Trace2 documentation]
+ for full details.
+
+`GIT_TR2_PERF`::
+ In addition to the text-based messages available in `GIT_TR2`, this
+ setting writes a column-based format for understanding nesting
+ regions. See link:technical/api-trace2.html[Trace2 documentation]
+ for full details.
+
`GIT_REDACT_COOKIES`::
This can be set to a comma-separated list of strings. When a curl trace
is enabled (see `GIT_TRACE_CURL` above), whenever a "Cookies:" header