t7501: add test of "commit --dry-run --short"
[gitweb.git] / transport-helper.c
index 84a10661cc06ab9bb103a61dfdc1bb02536d7816..143ca008c8f20384c8c4636e5372817946e66e14 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);