]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: fix negotiate-only error message
authorRobert Coup <robert@coup.net.nz>
Fri, 28 Jan 2022 14:36:02 +0000 (14:36 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Jan 2022 23:02:04 +0000 (15:02 -0800)
commit2826ffad8c34b639fd41f62fac1236e36e9d83db
treee3d4f7aaf318d45757088b217a968f7719d804e3
parenteff40457a4ab4887c677453d11774322a494a98c
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>
builtin/fetch.c
t/t5702-protocol-v2.sh