diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-08-18 06:01:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-19 01:46:53 +0200 |
commit | 9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a (patch) | |
tree | 033b55043077a02c23f9397f420c67751c320e3c /transport.c | |
parent | promisor-remote: lazy-fetch objects in subprocess (diff) | |
download | git-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.tar.xz git-9dfa8dbeee18a126aabcdd36a06e5d6b5eb6a58a.zip |
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 'transport.c')
-rw-r--r-- | transport.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/transport.c b/transport.c index 2d4fd851dc..7efe32309a 100644 --- a/transport.c +++ b/transport.c @@ -232,9 +232,6 @@ static int set_git_option(struct git_transport_options *opts, } else if (!strcmp(name, TRANS_OPT_FROM_PROMISOR)) { opts->from_promisor = !!value; return 0; - } else if (!strcmp(name, TRANS_OPT_NO_DEPENDENTS)) { - opts->no_dependents = !!value; - return 0; } else if (!strcmp(name, TRANS_OPT_LIST_OBJECTS_FILTER)) { list_objects_filter_die_if_populated(&opts->filter_options); parse_list_objects_filter(&opts->filter_options, value); @@ -359,7 +356,6 @@ static int fetch_refs_via_pack(struct transport *transport, args.cloning = transport->cloning; args.update_shallow = data->options.update_shallow; args.from_promisor = data->options.from_promisor; - args.no_dependents = data->options.no_dependents; args.filter_options = data->options.filter_options; args.stateless_rpc = transport->stateless_rpc; args.server_options = transport->server_options; |