Re: Git config multiple values

2017-10-06 Thread Andreas Heiduk
Hi, Am 06.10.2017 um 19:25 schrieb Jonathan Nieder: > Hi, > > Jeff King wrote: >> On Fri, Oct 06, 2017 at 01:10:17PM +0200, aleksander.baranowski wrote: > >>> It's just an opinion, but this behaviour is no consistent for me. >>> >>> If it's not the bug it's a feature just let me know. >> >> It's

Re: Git config multiple values

2017-10-06 Thread Jonathan Nieder
Hi, Jeff King wrote: > On Fri, Oct 06, 2017 at 01:10:17PM +0200, aleksander.baranowski wrote: >> It's just an opinion, but this behaviour is no consistent for me. >> >> If it's not the bug it's a feature just let me know. > > It's a feature, though I agree that git-config is rather baroque. We're

Re: Git config multiple values

2017-10-06 Thread Jeff King
On Fri, Oct 06, 2017 at 10:25:30AM -0700, Jonathan Nieder wrote: > Jeff King wrote: > > On Fri, Oct 06, 2017 at 01:10:17PM +0200, aleksander.baranowski wrote: > > >> It's just an opinion, but this behaviour is no consistent for me. > >> > >> If it's not the bug it's a feature just let me know. >

Re: Git config multiple values

2017-10-06 Thread aleksander.baranowski
Hi!, Thank you very much for descriptive answer. You are absolutely right. I should read manual more carefully! Still it's quite odd interface. Thank you for your time. Bests, Alex On 10/06/2017 04:32 PM, Jeff King wrote: > On Fri, Oct 06, 2017 at 01:10:17PM +0200, aleksander.baranowski wrote:

Re: Git config multiple values

2017-10-06 Thread Jeff King
On Fri, Oct 06, 2017 at 01:10:17PM +0200, aleksander.baranowski wrote: > I'm currently using git version 2.14.2. There is possible to put > multiple values into same variable with git config. Yep, your examples should behave the same even with older versions. > Case 1: > # git config --global us

Git config multiple values

2017-10-06 Thread aleksander.baranowski
Hi, I'm currently using git version 2.14.2. There is possible to put multiple values into same variable with git config. Case 1: # git config --global user.name Foo - returns 0 # git config --global user.name Bar - returns 0 and replace Foo to Bar # git config --global user.name Foo - returns 0 a