Thread (20 messages) 20 messages, 4 authors, 2023-12-07

Re: [PATCH 3/7] revision: use die_for_incompatible_opt3() for --graph/--reverse/--walk-reflogs

From: René Scharfe <hidden>
Date: 2023-12-06 17:29:27

Am 06.12.23 um 18:21 schrieb Eric Sunshine:
On Wed, Dec 6, 2023 at 6:53 AM René Scharfe [off-list ref] wrote:
quoted
The revision options --reverse is incompatibel with --walk-reflogs and
s/incompatibel/incompatible/
And s/options/option/, *sigh*.
quoted
--graph is incompatible with both --reverse and --walk-reflogs.  So they
are all incompatible with each other.

Use the function for checking three mutually incompatible options,
die_for_incompatible_opt3(), to perform this check in one place and
without repetition.  This is shorter and clearer.

Signed-off-by: René Scharfe <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help