Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Add an optional argument for --color options

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:15

Jeff King [off-list ref] writes:
It's historical. The diff option parser predates parse-options by quite
a bit, and was never converted. Pierre made some attempts at converting
it and the revision parser some time back, and we ended up with the more
iterative approach (you can step through each argument with
parse-options, and then alternatively feed it to the revision and diff
options parser).

I don't remember if there were any technical limitations,...
I think one of the biggie we didn't solve was what to do with the
cascading options table (e.g. log family use both diff and revision in
addition to their own).  The design needs to cover both parsing and also
the help text.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help