Jonathan Tan [off-list ref] writes:
On 02/15/2017 03:11 PM, Junio C Hamano wrote:
quoted
Junio C Hamano [off-list ref] 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.