diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-01 20:04:38 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-01 20:04:38 +0300 |
commit | fce9e836d395fb315bb8b77619868098a6cb02eb (patch) | |
tree | 08f7d5b4eb0c0cf663a5863ff4b5552b8d225602 /builtin/clone.c | |
parent | 8faff3899e1fdefbdd143eaf5ce3b96532205bc7 (diff) | |
parent | 603960b50edeb1f0afa694f2f0283e553c031129 (diff) |
Merge branch 'jt/fetch-remove-lazy-fetch-plugging'
"git fetch" codepath had a big "do not lazily fetch missing objects
when I ask if something exists" switch. This has been corrected by
marking the "does this thing exist?" calls with "if not please do not
lazily fetch it" flag.
* jt/fetch-remove-lazy-fetch-plugging:
promisor-remote: remove fetch_if_missing=0
clone: remove fetch_if_missing=0
fetch: remove fetch_if_missing=0
Diffstat (limited to 'builtin/clone.c')
-rw-r--r-- | builtin/clone.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/builtin/clone.c b/builtin/clone.c index b24f04cf33..40c0bf25be 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -927,8 +927,6 @@ int cmd_clone(int argc, const char **argv, const char *prefix) struct argv_array ref_prefixes = ARGV_ARRAY_INIT; - fetch_if_missing = 0; - packet_trace_identity("clone"); argc = parse_options(argc, argv, prefix, builtin_clone_options, builtin_clone_usage, 0); @@ -1265,7 +1263,6 @@ int cmd_clone(int argc, const char **argv, const char *prefix) } junk_mode = JUNK_LEAVE_REPO; - fetch_if_missing = 1; err = checkout(submodule_progress); strbuf_release(&reflog_msg); |