From: Pablo Date: Wed, 25 Mar 2026 12:29:37 GMT Subject: Re: [GSoC PATCH v4 1/3] graph: add --graph-lane-limit option Message-ID: In-Reply-To: <6b299cf5-acfd-4a56-87e7-db26743a3271@kdbg.org> Johannes Sixt () writes: > > Am 23.03.26 um 22:59 schrieb Pablo Sabater: > > @@ -3172,6 +3174,10 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, struct s > > > > if (revs->no_walk && revs->graph) > > die(_("options '%s' and '%s' cannot be used together"), "--no-walk", "--graph"); > > + > > + if (revs->graph_max_lanes > 0 && !revs->graph) > > + die(_("option '%s' requires '%s'"), "--graph-lane-limit", "--graph"); > > + > > if (!revs->reflog_info && revs->grep_filter.use_reflog_filter) > > die(_("the option '%s' requires '%s'"), "--grep-reflog", "--walk-reflogs"); > > You help translators if you make the new error message format string > exactly identical to the one that we see in the post-context. > True, I'll make the messages the same in v5. > -- Hannes >