path: root/Documentation/git.txt
diff options
authorJonathan Tan <>2018-01-19 00:28:02 (GMT)
committerJunio C Hamano <>2018-01-19 21:06:57 (GMT)
commit8ba18e6fa402666fe94a285cd27addd9b0df6462 (patch)
tree5fd4fae3cda3a10064f8cebd2cee85257270ac43 /Documentation/git.txt
parent83411783c3ebd0ffb55a05e8ad63b13b8530747f (diff)
http: support omitting data from traces
GIT_TRACE_CURL provides a way to debug what is being sent and received over HTTP, with automatic redaction of sensitive information. But it also logs data transmissions, which significantly increases the log file size, sometimes unnecessarily. Add an option "GIT_TRACE_CURL_NO_DATA" to allow the user to omit such data transmissions. Signed-off-by: Jonathan Tan <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git.txt')
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 5446d21..8163b57 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -646,6 +646,10 @@ of clones and fetches.
See `GIT_TRACE` for available trace output options.
+ When a curl trace is enabled (see `GIT_TRACE_CURL` above), do not dump
+ data (that is, only dump info lines and headers).
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