summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-07-17 10:47:26 -0700
committerJunio C Hamano <gitster@pobox.com>2024-07-17 10:47:26 -0700
commitc7e8aaee983c8ea3b9784c71bd0ec6bcf03bffeb (patch)
tree812a37e7d2a3f26f3586369fdfa6d5e18f66b36a
parente13feda98f59cd34d8efce69b3db0cb16c4d3c3b (diff)
parent8d201195515a6b4decc0df435c8fbff93d855a5c (diff)
downloadgit-c7e8aaee983c8ea3b9784c71bd0ec6bcf03bffeb.tar.xz
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
-rw-r--r--Documentation/config/http.txt6
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.