Re: [PATCH/RFC 5/5] add tests for checking the behaviour of "unset.variable"
On 10/7/2014 12:58 AM, Junio C Hamano wrote:
Show 22 quoted lines
>
> 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.