summaryrefslogtreecommitdiff
path: root/builtin/fetch-pack.c
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 /builtin/fetch-pack.c
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 'builtin/fetch-pack.c')
-rw-r--r--builtin/fetch-pack.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/builtin/fetch-pack.c b/builtin/fetch-pack.c
index bbb5c96..58b7c1f 100644
--- a/builtin/fetch-pack.c
+++ b/builtin/fetch-pack.c
@@ -153,10 +153,6 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
args.from_promisor = 1;
continue;
}
- if (!strcmp("--no-dependents", arg)) {
- args.no_dependents = 1;
- continue;
- }
if (skip_prefix(arg, ("--" CL_ARG__FILTER "="), &arg)) {
parse_list_objects_filter(&args.filter_options, arg);
continue;