summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-04-22 13:42:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-22 13:42:44 -0700
commit810dc6481ad7c1e1a6aacebfeaed308778c6c63f (patch)
tree6b4fc05249dba2e535d9fe89a6c130a43aee129a /Documentation/config
parentMerge branch 'jt/connectivity-check-optim-in-partial-clone' (diff)
parenttrace2: teach Git to log environment variables (diff)
downloadtgif-810dc6481ad7c1e1a6aacebfeaed308778c6c63f.tar.xz
Merge branch 'js/trace2-env-vars'
Trace2 enhancement to allow logging of the environment variables. * js/trace2-env-vars: trace2: teach Git to log environment variables
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/trace2.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config/trace2.txt b/Documentation/config/trace2.txt
index 4ce0b9a6d1..01d3afd8a8 100644
--- a/Documentation/config/trace2.txt
+++ b/Documentation/config/trace2.txt
@@ -48,6 +48,15 @@ trace2.configParams::
May be overridden by the `GIT_TRACE2_CONFIG_PARAMS` environment
variable. Unset by default.
+trace2.envVars::
+ A comma-separated list of "important" environment variables that should
+ be recorded in the trace2 output. For example,
+ `GIT_HTTP_USER_AGENT,GIT_CONFIG` would cause the trace2 output to
+ contain events listing the overrides for HTTP user agent and the
+ location of the Git configuration file (assuming any are set). May be
+ overriden by the `GIT_TRACE2_ENV_VARS` environment variable. Unset by
+ default.
+
trace2.destinationDebug::
Boolean. When true Git will print error messages when a
trace target destination cannot be opened for writing.