summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:09 -0700
commit721dce003f53fe513f513ecfea592dedd60573f2 (patch)
treec20e95ed7012f7decdd1c6778d11845d9029ff5a /Documentation
parentMerge branch 'nd/diff-flush-before-warning' into maint (diff)
parenthttp: support omitting data from traces (diff)
downloadtgif-721dce003f53fe513f513ecfea592dedd60573f2.tar.xz
Merge branch 'jt/http-redact-cookies' into maint
The http tracing code, often used to debug connection issues, learned to redact potentially sensitive information from its output so that it can be more safely sharable. * jt/http-redact-cookies: http: support omitting data from traces http: support cookie redaction when tracing
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 3f4161a799..8163b5796b 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -646,6 +646,16 @@ of clones and fetches.
variable.
See `GIT_TRACE` for available trace output options.
+`GIT_TRACE_CURL_NO_DATA`::
+ When a curl trace is enabled (see `GIT_TRACE_CURL` above), do not dump
+ data (that is, only dump info lines and headers).
+
+`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
+ sent by the client is dumped, values of cookies whose key is in that
+ list (case-sensitive) are redacted.
+
`GIT_LITERAL_PATHSPECS`::
Setting this variable to `1` will cause Git to treat all
pathspecs literally, rather than as glob patterns. For example,