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

Re: [PATCH v3] add 'git credential' plumbing command

From
Rroucherj <roucherj@telesun.imag.fr>
Date
Jun 11, 2012, 19:12 UTC
Message-ID
<edf83e30636b67d2b95bf1df8519cdcd@telesun.imag.fr>
In-Reply-To
<vpqehpl4qm0.fsf@bauges.imag.fr>
On Mon, 11 Jun 2012 21:04:39 +0200, Matthieu Moy wrote:
>> Subject: Re: [PATCH v3] add 'git credential' plumbing command
>
> I guess you mean v2.
>
Sorry is a miss typing.
Show 27 quoted lines
> Javier.Roucher-Iglesias@ensimag.imag.fr writes:
>
>> Changes in the version2 vs version1:
>
> These should not go to the commit message, but below the --- below 
> (and
> before the diffstat).
>
>> Adding to the next patch, version3:
>> · Tests files
>
> If the todo-list isn't empty, then mark your patch as "RFC".
>
>> --- /dev/null
>> +++ b/Documentation/git-credential.txt
>> @@ -0,0 +1,74 @@
>> +git-credential(7)
>> +=================
>> +
>> +NAME
>> +----
>> +git-credential - Provides and store user credentials to git
>
> Provides -> Provide
>
> I'd remove the "to git" part.
>
Changed it
Show 18 quoted lines
> Other than that, I prefer Jeff's version sent yesterday. Any reason 
> not
> to use it?
>
> The command still isn't listed in "man git", aka 
> Documentation/git.txt
> (I already mentionned it)
>
>> +	if (!strcmp(op, "fill")) {
>> +		credential_fill(&c);
>> +		if (c.username)
>> +			printf("username=%s\n", c.username);
>> +		if (c.password)
>> +			printf("password=%s\n", c.password);
>> +	}
>
> See Jeff's remarks. It makes sense to output all fields here
> (protocol, path, ...).
okay for the next patch i will add (protocol, path, ..)
Previous: Matthieu MoyNext: konglu@minatec.inpg.fr
Message 3 of 5 in “add 'git credential' plumbing command”
  1. add 'git credential' plumbing commandjavier.roucher-iglesias@ensimag.imag.fr, Jun 11, 2012
  2. Matthieu MoyJun 11, 2012
  3. roucherjJun 11, 2012
  4. konglu@minatec.inpg.frJun 11, 2012
  5. roucherjJun 11, 2012

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.