Thread (309 messages) 309 messages, 17 authors, 2018-10-02

Re: [PATCH v4 05/21] range-diff: also show the diff between patches

From: Eric Sunshine <hidden>
Date: 2018-08-10 21:31:50

On Fri, Aug 10, 2018 at 5:12 PM Johannes Schindelin
[off-list ref] wrote:
On Mon, 30 Jul 2018, Eric Sunshine wrote:
quoted
I think you can attain the desired behavior by making a final
parse_options() call with empty 'options' list after the call to
diff_setup_done(). It's pretty much a one-line fix, but can probably
be done as an incremental change rather than rerolling.
But then we would have to keep `--` in the first, and not in the second
parse_options() call, right? We would also have to handle that `--`
properly in the loop that calls diff_opt_parse(), I think.
A bit more involved than just a one-line fix, but I guess I'll give it a
try.
It's something that could easily wait until after this series lands.
After all, it's just a slightly confusing error message, not some
fundamental problem.

As for '--', I'll have to go back and look at the code. I thought I
had thought it all through at the time I made the suggestion, but my
brain needs a refresh by now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help