Skip to content

Commit

Permalink
revision.c: trivial fix to message
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
alshopov committed Feb 3, 2024
1 parent 9d675e3 commit 9731125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,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;
Expand Down

0 comments on commit 9731125

Please sign in to comment.