fetch-pack: support negotiation tip whitelist
[gitweb.git] / transport-helper.c
index 1f8ff7e9424e5d780578a6ab00623f814d8f836a..ad8f7c7726542dea6ab933ee22eca931d139fd7a 100644 (file)
@@ -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);