Re: [RFC PATCH 0/2] upload-pack.c: limit allowed filter choices
On Wed, Mar 18, 2020 at 03:41:51PM -0700, Junio C Hamano wrote:
Show 16 quoted lines
> Taylor Blau <me@ttaylorr.com> writes:
>
> >> We tried equals, like:
> >>
> >> uploadpack.filter=blob:none.allow
> >>
> >> but there's an interesting side effect. Doing:
> >>
> >> git -c uploadpack.filter=blob:none.allow=true upload-pack ...
> >>
> >> doesn't work, because the "-c" parser ends the key at the first "=". As
> >> it should, because otherwise we'd get confused by an "=" in a value.
> >> This is a failing of the "-c" syntax; it can't represent values with
> >> "=".
>
> s/value/key/ I presume ;-)