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

Re: [PATCH 2/3] api-credentials.txt: mention credential.helper explicitly

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 4, 2012, 17:51 UTC
Message-ID
<vpqehpvrmmy.fsf@bauges.imag.fr>
In-Reply-To
<20120604115442.GB27676@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 21 quoted lines
> On Sun, Jun 03, 2012 at 06:10:03PM +0200, Matthieu Moy wrote:
>
>> --- a/Documentation/technical/api-credentials.txt
>> +++ b/Documentation/technical/api-credentials.txt
>> @@ -179,7 +179,8 @@ credentials from and to long-term storage (where "long-term" is simply
>>  longer than a single git process; e.g., credentials may be stored
>>  in-memory for a few minutes, or indefinitely on disk).
>>  
>> -Each helper is specified by a single string. The string is transformed
>> +Each helper is specified by a single string in the configuration
>> +variable credential.helper. The string is transformed
>>  by git into a command to be executed using these rules:
>
> They may be in other variables, too (like credential.*.helper). I don't
> know if it is worth making that distinction.
>
> Originally, helpers could also use these specification strings to chain
> to each other, but in the current implementation, there is no chaining
> (it was more important when prompting wasn't automatic, so storage
> helpers would chain to prompting helpers). So I think we can disregard
> that for now, and they really do just appear in config.

I'd say it is not worth making the distinction, but we may just say "in the configuration variable credential.helper (and others, see linkgit:../git-config.txt[1])" to be complete.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jeff KingNext: Matthieu Moy
Message 6 of 24 in “Improve credential API documentation”
  1. 0/3 Improve credential API documentationMatthieu Moy, Jun 3, 2012
  2. 1/3 api-credential.txt: show the big picture firstMatthieu Moy, Jun 3, 2012
  3. Jeff KingJun 4, 2012
  4. 2/3 api-credentials.txt: mention credential.helper explicitlyMatthieu Moy, Jun 3, 2012
  5. Jeff KingJun 4, 2012
  6. Matthieu MoyJun 4, 2012
  7. 3/3 api-credentials.txt: add "see also" sectionMatthieu Moy, Jun 3, 2012
  8. Junio C HamanoJun 3, 2012
  9. Matthieu MoyJun 4, 2012
  10. Jeff KingJun 4, 2012
  11. Junio C HamanoJun 4, 2012
  12. Matthieu MoyJun 4, 2012
  13. Jeff KingJun 5, 2012
  14. Jeff KingJun 5, 2012
  15. Matthieu MoyJun 5, 2012
  16. Jeff KingJun 5, 2012
  17. Junio C HamanoJun 5, 2012
  18. Jeff KingJun 5, 2012
  19. Junio C HamanoJun 5, 2012
  20. 1/4 doc: fix xref link from api docs to manual pagesMatthieu Moy, Jun 4, 2012
  21. 2/4 api-credential.txt: show the big picture firstMatthieu Moy, Jun 4, 2012
  22. Jeff KingJun 5, 2012
  23. 3/4 api-credentials.txt: mention credential.helper explicitlyMatthieu Moy, Jun 4, 2012
  24. 4/4 api-credentials.txt: add "see also" sectionMatthieu Moy, Jun 4, 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.