Re: [BUG] submodule config does not apply to upper case submodules?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 16, 2017, 18:49 UTC
- Message-ID
- <xmqqpoiix97g.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <c609866a-f1b9-6fe5-f97a-d2180c290983@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
Show 8 quoted lines
> On 02/15/2017 03:11 PM, Junio C Hamano wrote: >> Junio C Hamano <gitster@pobox.com> writes: >> >> Perhaps something like this? > > This looks good. I was hoping to unify the processing logic between > this CLI parsing and the usual stream parsing, but this approach is > probably simpler.
I looked at the stream parsing before I wrote the patch for the same reason, and I agree that the stream parsing of course does not get a single variable name at one place [*1*], so there is nothing that can be shared.
[Footnote]
*1* Instead "[<section> "<subsection>"] <var> = <val>" is split and
each piece is assembled into section.subsection.var with its own
downcasing.