From: Alexander Shopov Date: Fri, 16 Feb 2024 10:15:37 +0000 (+0100) Subject: revision.c: trivial fix to message X-Git-Tag: v2.45.0-rc0~106^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781fb7b4c2fd18040453e1676e505c5fd66ebd31;p=thirdparty%2Fgit.git revision.c: trivial fix to message ancestry-path is an option, not a command - mark it as such. This brings it in sync with the rest of usages in the file Signed-off-by: Alexander Shopov Signed-off-by: Junio C Hamano --- diff --git a/revision.c b/revision.c index 2424c9bd67..e29aa10781 100644 --- a/revision.c +++ b/revision.c @@ -2320,7 +2320,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg } else if (skip_prefix(arg, "--ancestry-path=", &optarg)) { struct commit *c; struct object_id oid; - const char *msg = _("could not get commit for ancestry-path argument %s"); + const char *msg = _("could not get commit for --ancestry-path argument %s"); revs->ancestry_path = 1; revs->simplify_history = 0;