diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-09-03 21:37:04 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-03 21:37:04 +0200 |
commit | b4100f366c1e5adf3a254cdc6f832aa1a4461053 (patch) | |
tree | 0cd253a268b0b06a09dd3cf17e60b666d67632d5 /transport.h | |
parent | Merge branch 'jc/run-command-use-embedded-args' (diff) | |
parent | fetch: no FETCH_HEAD display if --no-write-fetch-head (diff) | |
download | git-b4100f366c1e5adf3a254cdc6f832aa1a4461053.tar.xz git-b4100f366c1e5adf3a254cdc6f832aa1a4461053.zip |
Merge branch 'jt/lazy-fetch'
Updates to on-demand fetching code in lazily cloned repositories.
* jt/lazy-fetch:
fetch: no FETCH_HEAD display if --no-write-fetch-head
fetch-pack: remove no_dependents code
promisor-remote: lazy-fetch objects in subprocess
fetch-pack: do not lazy-fetch during ref iteration
fetch: only populate existing_refs if needed
fetch: avoid reading submodule config until needed
fetch: allow refspecs specified through stdin
negotiator/noop: add noop fetch negotiator
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/transport.h b/transport.h index 298d9eedc9..ca409ea1e4 100644 --- a/transport.h +++ b/transport.h @@ -19,8 +19,6 @@ struct git_transport_options { /* 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, * the corresponding field in struct fetch_pack_args is copied @@ -204,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" |