diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-06-23 01:55:02 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-23 01:55:02 +0300 |
commit | b8a52995941fca5dee9179607f089c39ac559965 (patch) | |
tree | 196bb5ec659a66ff872a10158edfda0a3cbf1b03 /Documentation | |
parent | 113f7349072ea1771e58b531e1808809a82c47f0 (diff) | |
parent | 827e7d4da470e8b9b222b2cf3b4a3b7f8c3c671f (diff) |
Merge branch 'jt/redact-all-cookies'
The interface to redact sensitive information in the trace output
has been simplified.
* jt/redact-all-cookies:
http: redact all cookies, teach GIT_TRACE_REDACT=0
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 40bd32f590..3e50065198 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -775,11 +775,10 @@ for full details. See `GIT_TRACE2` for available trace output options and 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 - sent by the client is dumped, values of cookies whose key is in that - list (case-sensitive) are redacted. +`GIT_TRACE_REDACT`:: + By default, when tracing is activated, Git redacts the values of + cookies, the "Authorization:" header, and the "Proxy-Authorization:" + header. Set this variable to `0` to prevent this redaction. `GIT_LITERAL_PATHSPECS`:: Setting this variable to `1` will cause Git to treat all |