summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-02-11 16:55:59 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-11 16:55:59 -0800
commitb855f5045ead55cad7b9865ed5df6b6029aa9bdf (patch)
tree1333255d8ce1f8970b96e54f5faee5ddc9e833f4 /builtin
parentMerge branch 'jc/doc-log-messages' (diff)
parentfetch: fix negotiate-only error message (diff)
downloadtgif-b855f5045ead55cad7b9865ed5df6b6029aa9bdf.tar.xz
Merge branch 'rc/negotiate-only-typofix'
Typofix. * rc/negotiate-only-typofix: fetch: fix negotiate-only error message
Diffstat (limited to 'builtin')
-rw-r--r--builtin/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 5b3b18a72f..55d2568b18 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -2052,7 +2052,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
}
if (negotiate_only && !negotiation_tip.nr)
- die(_("--negotiate-only needs one or more --negotiate-tip=*"));
+ die(_("--negotiate-only needs one or more --negotiation-tip=*"));
if (deepen_relative) {
if (deepen_relative < 0)