diff options
author | Elijah Newren <newren@gmail.com> | 2021-08-04 23:50:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-05 08:57:40 -0700 |
commit | 81483fe613de70e17913167876676528cb37cbcd (patch) | |
tree | 4a17842effaf13fbcc867ec3fc77d7baba7df03a /builtin | |
parent | merge-strategies.txt: add coverage of the `ort` merge strategy (diff) | |
download | tgif-81483fe613de70e17913167876676528cb37cbcd.tar.xz |
Update error message and code comment
There were two locations in the code that referred to 'merge-recursive'
but which were also applicable to 'merge-ort'. Update them to more
general wording.
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/merge.c b/builtin/merge.c index a8a843b1f5..d7b14bf4a7 100644 --- a/builtin/merge.c +++ b/builtin/merge.c @@ -738,7 +738,7 @@ static int try_merge_strategy(const char *strategy, struct commit_list *common, for (x = 0; x < xopts_nr; x++) if (parse_merge_opt(&o, xopts[x])) - die(_("Unknown option for merge-recursive: -X%s"), xopts[x]); + die(_("unknown strategy option: -X%s"), xopts[x]); o.branch1 = head_arg; o.branch2 = merge_remote_util(remoteheads->item)->name; |