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

Re: [PATCH/RFC] Add 'git credential' plumbing command

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 12, 2012, 14:36 UTC
Message-ID
<vpqy5nsppgs.fsf@bauges.imag.fr>
In-Reply-To
<20120612143411.GA7524@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 23 quoted lines
> On Tue, Jun 12, 2012 at 04:31:33PM +0200, Matthieu Moy wrote:
>
>> Javier.Roucher-Iglesias@ensimag.imag.fr writes:
>> 
>> > +git credential <fill|approve|reject>
>> 
>> You didn't take Jeff's suggestions into account:
>> 
>> http://thread.gmane.org/gmane.comp.version-control.git/199552/focus=199591
>> 
>> It's clearly too late to implement the whole suggested API, but I do
>> like the suggestion of allowing either a URL as argument or individual
>> fields on stdin, or both combined, by using the --stdin argument.
>> 
>> To allow further patches to implement this without breaking backward
>> compatibility, your implementation could require the use of --stdin on
>> the command-line.
>
> Actually, after further discussion, I think that --stdin is unnecessary.
> If you are providing a URL, you should always provide it via stdin
> because of the password-disclosure issue. It's tempting to provide a
> command-line alternative because it's easier, but I think it would just
> encourage lazy developers to do the wrong thing.
OK, that makes sense.
> I do still think respecting "url=" when reading a credential makes
> sense, but that is easy to add later.
OK, so in short: Javier, you can ignore my comment.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jeff King
Message 4 of 4 in “Add 'git credential' plumbing command”
  1. Add 'git credential' plumbing commandjavier.roucher-iglesias@ensimag.imag.fr, Jun 12, 2012
  2. Matthieu MoyJun 12, 2012
  3. Jeff KingJun 12, 2012
  4. Matthieu MoyJun 12, 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.