X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=transport.h;h=ca409ea1e407c1c67e70e764e734946f7e22372e;hb=7744a5d6921c457a05224cd7f5554e972df634b0;hp=b3c30133ea4073603086ac4c2b75bb223b5897b2;hpb=5b137e84410ff7c83b854cb7b9e933c4d3673555;p=thirdparty%2Fgit.git diff --git a/transport.h b/transport.h index b3c30133ea..ca409ea1e4 100644 --- a/transport.h +++ b/transport.h @@ -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.