summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2020-08-18 04:01:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-18 23:46:53 (GMT)
commit9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a (patch)
tree033b55043077a02c23f9397f420c67751c320e3c /fetch-pack.h
parent7ca3c0ac37bfb803f11db14b7223f6d8f0cd142e (diff)
downloadgit-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.zip
git-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.tar.gz
git-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.tar.bz2
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.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/fetch-pack.h b/fetch-pack.h
index 85d1e39..bbe2938 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