From: Matthieu Moy Date: Mon, 04 Jun 2012 17:51:33 GMT Subject: Re: [PATCH 2/3] api-credentials.txt: mention credential.helper explicitly Message-ID: In-Reply-To: <20120604115442.GB27676@sigill.intra.peff.net> Jeff King writes: > 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/