aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5702-protocol-v2.sh
diff options
context:
space:
mode:
authorRobert Coup <robert@coup.net.nz>2022-01-28 14:36:02 +0000
committerJunio C Hamano <gitster@pobox.com>2022-01-28 15:02:04 -0800
commit2826ffad8c34b639fd41f62fac1236e36e9d83db (patch)
treee3d4f7aaf318d45757088b217a968f7719d804e3 /t/t5702-protocol-v2.sh
parenteff40457a4ab4887c677453d11774322a494a98c (diff)
downloadgit-2826ffad8c34b639fd41f62fac1236e36e9d83db.tar.gz
fetch: fix negotiate-only error message
The error message when invoking a negotiate-only fetch without providing any tips incorrectly refers to a --negotiate-tip=* argument. Fix this to use the actual argument, --negotiation-tip=*. Signed-off-by: Robert Coup <robert@coup.net.nz> Reviewed-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5702-protocol-v2.sh')
-rwxr-xr-xt/t5702-protocol-v2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5702-protocol-v2.sh b/t/t5702-protocol-v2.sh
index 78de1ff2ad..66a16d4ab7 100755
--- a/t/t5702-protocol-v2.sh
+++ b/t/t5702-protocol-v2.sh
@@ -606,7 +606,7 @@ test_expect_success 'usage: --negotiate-only without --negotiation-tip' '
setup_negotiate_only "$SERVER" "$URI" &&
cat >err.expect <<-\EOF &&
- fatal: --negotiate-only needs one or more --negotiate-tip=*
+ fatal: --negotiate-only needs one or more --negotiation-tip=*
EOF
test_must_fail git -c protocol.version=2 -C client fetch \