diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-08-17 21:01:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-18 16:46:53 -0700 |
commit | 9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a (patch) | |
tree | 033b55043077a02c23f9397f420c67751c320e3c /fetch-pack.h | |
parent | promisor-remote: lazy-fetch objects in subprocess (diff) | |
download | tgif-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.tar.xz |
fetch-pack: remove no_dependents code
Now that Git has switched to using a subprocess to lazy-fetch missing
objects, remove the no_dependents code as it is no longer used.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 85d1e39fe7..bbe2938059 100644 --- a/fetch-pack.h +++ b/fetch-pack.h @@ -43,20 +43,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 |