diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-01 11:07:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-01 11:07:35 -0700 |
commit | 35e22d54ed3ee237a88c8e7ddeae7f1305011830 (patch) | |
tree | 1421aee105aa674d606ffe58891e38b8a2b0f41d /transport-helper.c | |
parent | negotiator/skipping: skip commits during fetch (diff) | |
parent | fetch-pack: support negotiation tip whitelist (diff) | |
download | tgif-35e22d54ed3ee237a88c8e7ddeae7f1305011830.tar.xz |
Merge branch 'jt/fetch-nego-tip' into ab/fetch-nego
* jt/fetch-nego-tip:
fetch-pack: support negotiation tip whitelist
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 1f8ff7e942..ad8f7c7726 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -684,6 +684,9 @@ static int fetch(struct transport *transport, transport, "filter", data->transport_options.filter_options.filter_spec); + if (data->transport_options.negotiation_tips) + warning("Ignoring --negotiation-tip because the protocol does not support it."); + if (data->fetch) return fetch_with_fetch(transport, nr_heads, to_fetch); |