Re: [PATCH] git-config: update doc for --get with multiple values

2013-07-07 Thread Junio C Hamano
John Keeping writes: >> I wondered if we should explain the significance of "last" a bit >> more (like "this results in the value from the most specific >> configuration file to be used, the ones in $GIT_DIR/config >> overriding what is in $HOME/.gitconfig"), but I do not have a strong >> opinion

Re: [PATCH] git-config: update doc for --get with multiple values

2013-07-07 Thread John Keeping
On Wed, Jul 03, 2013 at 11:47:50AM -0700, Junio C Hamano wrote: > John Keeping writes: > > > Since commit 00b347d (git-config: do not complain about duplicate > > entries, 2012-10-23), "git config --get" does not exit with an error if > > there are multiple values for the specified key but instea

Re: [PATCH] git-config: update doc for --get with multiple values

2013-07-03 Thread Junio C Hamano
John Keeping writes: > Since commit 00b347d (git-config: do not complain about duplicate > entries, 2012-10-23), "git config --get" does not exit with an error if > there are multiple values for the specified key but instead returns the > last value. Update the documentation to reflect this. > >

Re: [PATCH] git-config: update doc for --get with multiple values

2013-07-03 Thread Jeff King
On Wed, Jul 03, 2013 at 07:27:39PM +0100, John Keeping wrote: > Since commit 00b347d (git-config: do not complain about duplicate > entries, 2012-10-23), "git config --get" does not exit with an error if > there are multiple values for the specified key but instead returns the > last value. Updat

[PATCH] git-config: update doc for --get with multiple values

2013-07-03 Thread John Keeping
Since commit 00b347d (git-config: do not complain about duplicate entries, 2012-10-23), "git config --get" does not exit with an error if there are multiple values for the specified key but instead returns the last value. Update the documentation to reflect this. Signed-off-by: John Keeping ---