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>
This commit is contained in:
committed by
Junio C Hamano
parent
6567eed94f
commit
781fb7b4c2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user