Skip to content

Commit c7e8aae

Browse files
committed
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
2 parents e13feda + 8d20119 commit c7e8aae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/config/http.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,16 @@ http.cookieFile::
107107
in the Git http session, if they match the server. The file format
108108
of the file to read cookies from should be plain HTTP headers or
109109
the Netscape/Mozilla cookie file format (see `curl(1)`).
110+
Set it to an empty string, to accept only new cookies from
111+
the server and send them back in successive requests within same
112+
connection.
110113
NOTE that the file specified with http.cookieFile is used only as
111114
input unless http.saveCookies is set.
112115

113116
http.saveCookies::
114117
If set, store cookies received during requests to the file specified by
115-
http.cookieFile. Has no effect if http.cookieFile is unset.
118+
http.cookieFile. Has no effect if http.cookieFile is unset, or set to
119+
an empty string.
116120

117121
http.version::
118122
Use the specified HTTP protocol version when communicating with a server.

0 commit comments

Comments
 (0)