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

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

From
Junio C Hamano <gitster@pobox.com>
Date
May 4, 2016, 23:03 UTC
Message-ID
<xmqqwpn9ctou.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160504193531.GA62336@google.com>
Brian Norris <computersforpeace@gmail.com> writes:
Show 28 quoted lines
> On Wed, May 04, 2016 at 03:30:51PM -0400, Jeff King wrote:
>> On Wed, May 04, 2016 at 11:42:15AM -0700, Brian Norris wrote:
>> 
>> > diff --git a/Documentation/config.txt b/Documentation/config.txt
>> > index e655b9729a7d..4c3cd7621ad0 100644
>> > --- a/Documentation/config.txt
>> > +++ b/Documentation/config.txt
>> > @@ -1664,7 +1664,8 @@ 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]).
>> 
>> I think we usually re-wrap paragraphs when adding to the documentation,
>> but I do not have a strong opinion (and certainly understand the reasons
>> for not doing so).
>
> I chose the wrapping mostly based on the diff suggestions y'all kindly
> provided :)
>
> I can rewrap and resend if necessary.
>
>> The whole series looks fine to me. Thanks.

If the rewrite were a lot more extensive, then it no longer would make sense to refrain from rewrapping (which reduces the number of lines eyes have to scan), but doing this without rewrapping I think strikes a good balance.

Previous: Brian Norris
Message 6 of 6 in “config: describe 'pathname' value type”
  1. 1/3 config: describe 'pathname' value typeBrian Norris, May 4, 2016
  2. 2/3 Documentation: config: improve word ordering for http.cookieFileBrian Norris, May 4, 2016
  3. 3/3 http: expand http.cookieFile as a pathBrian Norris, May 4, 2016
  4. Jeff KingMay 4, 2016
  5. Brian NorrisMay 4, 2016
  6. Junio C HamanoMay 4, 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.