From: Johannes Sixt Date: Wed, 25 Mar 2026 10:03:44 GMT Subject: Re: [GSoC PATCH v4 1/3] graph: add --graph-lane-limit option Message-ID: <6b299cf5-acfd-4a56-87e7-db26743a3271@kdbg.org> In-Reply-To: <20260323215935.74486-2-pabloosabaterr@gmail.com> 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. -- Hannes