git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] http: expand http.cookieFile as a path

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 29, 2016, 17:52 UTC
Message-ID
<xmqqbn4sz4j2.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<xmqqfuu4z4pr.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> Brian Norris <computersforpeace@gmail.com> writes:
>
>> I mostly just copied from boilerplate on another option. IIRC, there
>> were at least two other options that were documented similarly.
>
> My quick grep didn't find 'another option' other than include.path,
> but how about this as a preparatory step?
>
> -- >8 --
> Subject: [PATCH] config: describe 'pathname' value type

And then, after applying this either before or after your 1/2, we can squash this into your 2/2.

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 39867f5..b7d3e69 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1665,13 +1665,11 @@ http.emptyAuth::
 	authentication.
 
 http.cookieFile::
-	File containing previously stored cookie lines which should be used
+	The pathname of a file containing previously stored cookie lines,
+	which should be used
 	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 linkgit:curl[1]).
-	The value of `http.cookieFile` is subject to tilde expansion: `~/` is
-	expanded to the value of `$HOME`, and `~user/` to the specified user's
-	home directory.
 	NOTE that the file specified with http.cookieFile is used only as
 	input unless http.saveCookies is set.
 
Previous: Jeff KingNext: Junio C Hamano
Message 9 of 12 in “Documentation: config: improve word ordering for http.cookieFile”
  1. 1/2 Documentation: config: improve word ordering for http.cookieFileBrian Norris, Apr 29, 2016
  2. 2/2 http: expand http.cookieFile as a pathBrian Norris, Apr 29, 2016
  3. Jeff KingApr 29, 2016
  4. Brian NorrisApr 29, 2016
  5. Junio C HamanoApr 29, 2016
  6. Jeff KingApr 29, 2016
  7. Junio C HamanoApr 29, 2016
  8. Jeff KingApr 29, 2016
  9. Junio C HamanoApr 29, 2016
  10. Junio C HamanoApr 29, 2016
  11. Jeff KingApr 29, 2016
  12. Junio C HamanoApr 29, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.