summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorAlexander Shopov <ash@kambanaria.org>2024-02-16 10:15:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2024-03-05 22:11:56 (GMT)
commit781fb7b4c2fd18040453e1676e505c5fd66ebd31 (patch)
treefb70f6758f64a0ca9685a156945711a43d24f74e /revision.c
parent6567eed94f8a7fc55d0cb1897c6e65f29bd227c6 (diff)
downloadgit-781fb7b4c2fd18040453e1676e505c5fd66ebd31.zip
git-781fb7b4c2fd18040453e1676e505c5fd66ebd31.tar.gz
git-781fb7b4c2fd18040453e1676e505c5fd66ebd31.tar.bz2
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>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 2424c9b..e29aa10 100644
--- a/revision.c
+++ b/revision.c
@@ -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;