]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.h
pack-bitmap-write: use hashwrite_be32() in write_hash_cache()
[thirdparty/git.git] / transport.h
index b3c30133ea4073603086ac4c2b75bb223b5897b2..ca409ea1e407c1c67e70e764e734946f7e22372e 100644 (file)
@@ -15,8 +15,9 @@ struct git_transport_options {
        unsigned self_contained_and_connected : 1;
        unsigned update_shallow : 1;
        unsigned deepen_relative : 1;
+
+       /* see documentation of corresponding flag in fetch-pack.h */
        unsigned from_promisor : 1;
-       unsigned no_dependents : 1;
 
        /*
         * If this transport supports connect or stateless-connect,
@@ -201,12 +202,6 @@ void transport_check_allowed(const char *type);
 /* Indicate that these objects are being fetched by a promisor */
 #define TRANS_OPT_FROM_PROMISOR "from-promisor"
 
-/*
- * Indicate that only the objects wanted need to be fetched, not their
- * dependents
- */
-#define TRANS_OPT_NO_DEPENDENTS "no-dependents"
-
 /* Filter objects for partial clone and fetch */
 #define TRANS_OPT_LIST_OBJECTS_FILTER "filter"
 
@@ -243,7 +238,7 @@ int transport_push(struct repository *repo,
  * ref_prefixes.
  */
 const struct ref *transport_get_remote_refs(struct transport *transport,
-                                           const struct argv_array *ref_prefixes);
+                                           const struct strvec *ref_prefixes);
 
 /*
  * Fetch the hash algorithm used by a remote.