]> git.ipfire.org Git - thirdparty/git.git/commitdiff
revision.c: trivial fix to message
authorAlexander Shopov <ash@kambanaria.org>
Fri, 16 Feb 2024 10:15:37 +0000 (11:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Mar 2024 22:11:56 +0000 (14:11 -0800)
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 <ash@kambanaria.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c

index 2424c9bd674e534909df89e25c21b5eb119fda05..e29aa10781bb90c19afa46bd34c5274edfbd22cf 100644 (file)
@@ -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;