summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-08 06:59:35 (GMT)
commit96f29521a3908eb80b9552f11f2b75ca34475686 (patch)
tree191eb44839fcb0f417d87da2cb7ca92ce63c936d /remote-curl.c
parent71c848bb28a2fcef918178f286f7e43d9804588d (diff)
parent0b6b34295413410e4ca52df4671d2a217e56a57b (diff)
downloadgit-96f29521a3908eb80b9552f11f2b75ca34475686.zip
git-96f29521a3908eb80b9552f11f2b75ca34475686.tar.gz
git-96f29521a3908eb80b9552f11f2b75ca34475686.tar.bz2
Merge branch 'ma/http-walker-no-partial'
"git http-fetch" (deprecated) had an optional and experimental "feature" to fetch only commits and/or trees, which nobody used. This has been removed. * ma/http-walker-no-partial: walker: drop fields of `struct walker` which are always 1 http-fetch: make `-a` standard behaviour
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 68e7b1c..ceb0534 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -869,9 +869,6 @@ static int fetch_dumb(int nr_heads, struct ref **to_fetch)
targets[i] = xstrdup(oid_to_hex(&to_fetch[i]->old_oid));
walker = get_http_walker(url.buf);
- walker->get_all = 1;
- walker->get_tree = 1;
- walker->get_history = 1;
walker->get_verbosely = options.verbosity >= 3;
walker->get_recover = 0;
ret = walker_fetch(walker, nr_heads, targets, NULL, NULL);