From: Tanay Abhra Date: Mon, 06 Oct 2014 19:43:36 GMT Subject: Re: [PATCH/RFC 5/5] add tests for checking the behaviour of "unset.variable" Message-ID: <5432F0E8.7020705@gmail.com> In-Reply-To: On 10/7/2014 12:58 AM, Junio C Hamano wrote: > > The point is to prevent"git config --add foo.baz anothervalue" starting from > > --- --- --- > [foo] > bar = some > [unset] variable = foo.baz > --- --- --- > > from adding foo.baz next to existing foo.bar. We would want to end up with > > --- --- --- > [foo] > bar = some > [unset] variable = foo.baz > [foo] > baz = anothervalue > --- --- --- > > So "When dealing with foo.baz, ignore everything above the last unset.variable > that unsets foo.baz" is what I meant (and I think that is how I wrote). > Yes, that was what I inferred too, I should have worded it more carefully, thanks.