Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-17 Thread Philip Oakley
From: "Junio C Hamano" "Philip Oakley" writes: ---once the reader understands that Git reads all configuration varilables of the same name and the code paths that *use* one of them pick the one defined the last, It's thi

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Junio C Hamano
"Philip Oakley" writes: >> ---once >> the reader >> understands that Git reads all configuration varilables of the >> same name and the code paths that *use* one of them pick the one >> defined the last, > It's this step tha

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Jeff King
On Mon, Jun 16, 2014 at 11:43:32AM -0700, Junio C Hamano wrote: > I have two doubts, while appreciating the overall direction to > clarify things very much. > > * "single overrides, multiple appends" is not a wrong explanation >per-se, but sounds like an arbitrary rule that forces people to

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Philip Oakley
From: "Tanay Abhra" On 06/16/2014 05:49 AM, Philip Oakley wrote: Pass a configuration parameter to the command. The value - given will override values from configuration files. + given will override single valued variables from configuration + files, and append to multivar variables. Previous

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Philip Oakley
From: "Junio C Hamano" Philip Oakley writes: When the '-c' option is used to pass alternate URLs or similar multivar parameters to git commands the effect is not what the user expected [1,2]. Clarify that multivar configuration parameters do not supercede previous values. Suggest an alternat

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Junio C Hamano
Philip Oakley writes: > When the '-c' option is used to pass alternate URLs or similar > multivar parameters to git commands the effect is not what the user > expected [1,2]. > > Clarify that multivar configuration parameters do not supercede > previous values. Suggest an alternative style parame

Re: [PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Tanay Abhra
On 06/16/2014 05:49 AM, Philip Oakley wrote: > Pass a configuration parameter to the command. The value > - given will override values from configuration files. > + given will override single valued variables from configuration > + files, and append to multivar variables. Previou

[PATCH] doc git: multivar configuration parameters append to existing values

2014-06-16 Thread Philip Oakley
When the '-c' option is used to pass alternate URLs or similar multivar parameters to git commands the effect is not what the user expected [1,2]. Clarify that multivar configuration parameters do not supercede previous values. Suggest an alternative style parameter. [1] http://article.gmane.org/