diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-06-08 18:06:32 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-06-08 18:06:32 -0700 |
| commit | 0b925a469eb903bfcfba73e6f1ff7e32f6190e62 (patch) | |
| tree | d314cd780bf6d53debd43cee048446705721a9aa /http.h | |
| parent | 8d04c98866eb7a1fc85cea6dba65f4b0ab1436bc (diff) | |
| parent | 7167a62b9e2f648adc11411446f876f2458722a5 (diff) | |
| download | git-0b925a469eb903bfcfba73e6f1ff7e32f6190e62.tar.xz | |
Merge branch 'jt/curl-verbose-on-trace-curl'
Rewrite support for GIT_CURL_VERBOSE in terms of GIT_TRACE_CURL.
Looking good.
* jt/curl-verbose-on-trace-curl:
http, imap-send: stop using CURLOPT_VERBOSE
t5551: test that GIT_TRACE_CURL redacts password
Diffstat (limited to 'http.h')
| -rw-r--r-- | http.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -252,6 +252,13 @@ int finish_http_object_request(struct http_object_request *freq); void abort_http_object_request(struct http_object_request *freq); void release_http_object_request(struct http_object_request *freq); +/* + * Instead of using environment variables to determine if curl tracing happens, + * behave as if GIT_TRACE_CURL=1 and GIT_TRACE_CURL_NO_DATA=1 is set. Call this + * before calling setup_curl_trace(). + */ +void http_trace_curl_no_data(void); + /* setup routine for curl_easy_setopt CURLOPT_DEBUGFUNCTION */ void setup_curl_trace(CURL *handle); #endif /* HTTP_H */ |
