Merge branch 'jk/ui-color-always-to-auto'
[gitweb.git] / transport-helper.c
index 8b5abca29f9492c03c234170ae1c66ba9f0970bb..eab7f47565089538fa7fb28d3046148be39b4763 100644 (file)
@@ -686,6 +686,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);