From: Eric Sunshine Date: Wed, 06 Dec 2023 17:21:48 GMT Subject: Re: [PATCH 3/7] revision: use die_for_incompatible_opt3() for --graph/--reverse/--walk-reflogs Message-ID: In-Reply-To: <20231206115215.94467-4-l.s.r@web.de> On Wed, Dec 6, 2023 at 6:53 AM René Scharfe wrote: > The revision options --reverse is incompatibel with --walk-reflogs and s/incompatibel/incompatible/ > --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