diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-09-03 19:37:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-03 19:37:04 (GMT) |
commit | b4100f366c1e5adf3a254cdc6f832aa1a4461053 (patch) | |
tree | 0cd253a268b0b06a09dd3cf17e60b666d67632d5 /fetch-pack.h | |
parent | 3f02c0ad360d96e8dbba92f97b42ebbaa4319db1 (diff) | |
parent | db3c293ecded67128b74a03f01e65c6799ff1116 (diff) | |
download | git-b4100f366c1e5adf3a254cdc6f832aa1a4461053.zip git-b4100f366c1e5adf3a254cdc6f832aa1a4461053.tar.gz git-b4100f366c1e5adf3a254cdc6f832aa1a4461053.tar.bz2 |
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 'fetch-pack.h')
-rw-r--r-- | fetch-pack.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fetch-pack.h b/fetch-pack.h index 5e747da..736a3da 100644 --- a/fetch-pack.h +++ b/fetch-pack.h @@ -51,20 +51,6 @@ struct fetch_pack_args { unsigned from_promisor:1; /* - * Attempt to fetch only the wanted objects, and not any objects - * referred to by them. Due to protocol limitations, extraneous - * objects may still be included. (When fetching non-blob - * objects, only blobs are excluded; when fetching a blob, the - * blob itself will still be sent. The client does not need to - * know whether a wanted object is a blob or not.) - * - * If 1, fetch_pack() will also not modify any object flags. - * This allows fetch_pack() to safely be called by any function, - * regardless of which object flags it uses (if any). - */ - unsigned no_dependents:1; - - /* * Because fetch_pack() overwrites the shallow file upon a * successful deepening non-clone fetch, if this struct * specifies such a fetch, fetch_pack() needs to perform a |