diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-07-17 19:47:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-17 19:47:26 +0200 |
commit | c7e8aaee983c8ea3b9784c71bd0ec6bcf03bffeb (patch) | |
tree | 812a37e7d2a3f26f3586369fdfa6d5e18f66b36a /Documentation | |
parent | Merge branch 'kn/push-empty-fix' (diff) | |
parent | doc: update http.cookieFile with in-memory cookie processing (diff) | |
download | git-c7e8aaee983c8ea3b9784c71bd0ec6bcf03bffeb.tar.xz git-c7e8aaee983c8ea3b9784c71bd0ec6bcf03bffeb.zip |
Merge branch 'ps/doc-http-empty-cookiefile'
What happens when http.cookieFile gets the special value "" has
been clarified in the documentation.
* ps/doc-http-empty-cookiefile:
doc: update http.cookieFile with in-memory cookie processing
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config/http.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/config/http.txt b/Documentation/config/http.txt index bffd5c5be1..162b33fc52 100644 --- a/Documentation/config/http.txt +++ b/Documentation/config/http.txt @@ -107,12 +107,16 @@ http.cookieFile:: in the Git http session, if they match the server. The file format of the file to read cookies from should be plain HTTP headers or the Netscape/Mozilla cookie file format (see `curl(1)`). + Set it to an empty string, to accept only new cookies from + the server and send them back in successive requests within same + connection. NOTE that the file specified with http.cookieFile is used only as input unless http.saveCookies is set. http.saveCookies:: If set, store cookies received during requests to the file specified by - http.cookieFile. Has no effect if http.cookieFile is unset. + http.cookieFile. Has no effect if http.cookieFile is unset, or set to + an empty string. http.version:: Use the specified HTTP protocol version when communicating with a server. |