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 <ash@kambanaria.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alexander Shopov committed
Feb 16, 2024 at 11:15 UTC
781fb7b4c2fd18040453e1676e505c5fd66ebd31
1 file changed
+1
-1
revision.c
+1
-1
@@ -2320,7 +2320,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
2320
} else if (skip_prefix(arg, "--ancestry-path=", &optarg)) {
2321
struct commit *c;
2322
struct object_id oid;
2323
- const char *msg = _("could not get commit for ancestry-path argument %s");
2323
+ const char *msg = _("could not get commit for --ancestry-path argument %s");
2324
2325
revs->ancestry_path = 1;
2326
revs->simplify_history = 0;