summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-09 18:21:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-09 18:21:21 (GMT)
commit4a5c3e10f2a17efbbef72b7112d4d036ec89eceb (patch)
tree47d6632e0599c2298f146ad49b160a8636d748ab /remote-curl.c
parent3658d77f8e563e77658d9e44df5e24f08ca99e3a (diff)
parent7655b4119d49844e6ebc62da571e5f18528dbde8 (diff)
downloadgit-4a5c3e10f2a17efbbef72b7112d4d036ec89eceb.zip
git-4a5c3e10f2a17efbbef72b7112d4d036ec89eceb.tar.gz
git-4a5c3e10f2a17efbbef72b7112d4d036ec89eceb.tar.bz2
Merge branch 'rs/show-progress-in-dumb-http-fetch'
"git fetch" over HTTP walker protocol did not show any progress output. We inherently do not know how much work remains, but still we can show something not to bore users. * rs/show-progress-in-dumb-http-fetch: remote-curl: show progress for fetches over dumb HTTP
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 8eb9615..e4cd321 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -1026,6 +1026,7 @@ static int fetch_dumb(int nr_heads, struct ref **to_fetch)
walker = get_http_walker(url.buf);
walker->get_verbosely = options.verbosity >= 3;
+ walker->get_progress = options.progress;
walker->get_recover = 0;
ret = walker_fetch(walker, nr_heads, targets, NULL, NULL);
walker_free(walker);