Skip to content

Commit 781fb7b

Browse files
alshopovgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6567eed commit 781fb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

revision.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
23202320
} else if (skip_prefix(arg, "--ancestry-path=", &optarg)) {
23212321
struct commit *c;
23222322
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");
23242324

23252325
revs->ancestry_path = 1;
23262326
revs->simplify_history = 0;

0 commit comments

Comments
 (0)