unpack-trees: add a note about path invalidation
[gitweb.git] / transport.h
index 7a9a7fcaf3ebf4afcd4d181d54de7e0791451fc7..113530ea5482f783046baa8ba87388ced46bf6be 100644 (file)
@@ -36,6 +36,16 @@ struct git_transport_options {
        const char *receivepack;
        struct push_cas_option *cas;
        struct list_objects_filter_options filter_options;
+
+       /*
+        * This is only used during fetch. See the documentation of
+        * negotiation_tips in struct fetch_pack_args.
+        *
+        * This field is only supported by transports that support connect or
+        * stateless_connect. Set this field directly instead of using
+        * transport_set_option().
+        */
+       struct oid_array *negotiation_tips;
 };
 
 enum transport_family {