packaging: Add contrib installation
[platform/upstream/git.git] / transport-internal.h
index 004bee5..27c9daf 100644 (file)
@@ -3,16 +3,10 @@
 
 struct ref;
 struct transport;
-struct argv_array;
+struct strvec;
 
 struct transport_vtable {
        /**
-        * This transport supports the fetch() function being called
-        * without get_refs_list() first being called.
-        */
-       unsigned fetch_without_list : 1;
-
-       /**
         * Returns 0 if successful, positive if the option is not
         * recognized or is inapplicable, and negative if the option
         * is applicable but the value is invalid.
@@ -36,7 +30,7 @@ struct transport_vtable {
         * in the ref's old_sha1 field; otherwise it should be all 0.
         **/
        struct ref *(*get_refs_list)(struct transport *transport, int for_push,
-                                    const struct argv_array *ref_prefixes);
+                                    const struct strvec *ref_prefixes);
 
        /**
         * Fetch the objects for the given refs. Note that this gets