diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-09-18 10:07:02 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-18 10:07:02 -0700 |
| commit | bf781d93b6b768c6e2bef12af73fcb3e14dd1a33 (patch) | |
| tree | 834ed7ec6753ddb65f85753ab07750deeea52617 /git-curl-compat.h | |
| parent | Merge branch 'ag/doc-sendmail-gmail-example-update' (diff) | |
| parent | curl: add support for curl_global_trace() components (diff) | |
| download | git-bf781d93b6b768c6e2bef12af73fcb3e14dd1a33.tar.gz git-bf781d93b6b768c6e2bef12af73fcb3e14dd1a33.zip | |
Merge branch 'jk/curl-global-trace-components'
Adjust to the way newer versions of cURL selectivel enables tracing
options, so that our tests can continue to work.
* jk/curl-global-trace-components:
curl: add support for curl_global_trace() components
Diffstat (limited to 'git-curl-compat.h')
| -rw-r--r-- | git-curl-compat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git-curl-compat.h b/git-curl-compat.h index aa8eed7ed2..659e5a3875 100644 --- a/git-curl-compat.h +++ b/git-curl-compat.h @@ -46,6 +46,13 @@ #endif /** + * curl_global_trace() was added in 8.3.0, released September 2023. + */ +#if LIBCURL_VERSION_NUM >= 0x080300 +#define GIT_CURL_HAVE_GLOBAL_TRACE 1 +#endif + +/** * CURLOPT_TCP_KEEPCNT was added in 8.9.0, released in July, 2024. */ #if LIBCURL_VERSION_NUM >= 0x080900 |
