diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-12 09:37:38 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-12 09:37:38 +0300 |
commit | f7a2eb735982e921ae4379f1dcf5f7a023610393 (patch) | |
tree | 26fe2c59a8fed68a531e7b855a495f52198162a2 /http-fetch.c | |
parent | 23ea3e201cea0deea909569e08e950a9ec2345f7 (diff) | |
parent | 7765e7ebda7e273bca34e87110be899447068b58 (diff) |
This is GIT 1.0-rc1 in disguise. It is plausible that
relatively new parts of the system still need tweaking and
fixing, but that is why it is not 1.0 but rc ;-).
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-fetch.c')
-rw-r--r-- | http-fetch.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/http-fetch.c b/http-fetch.c index 88b74b4341..f39e748fc0 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -269,6 +269,8 @@ static CURL* get_curl_handle(void) curl_low_speed_time); } + curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1); + return result; } @@ -786,7 +788,7 @@ static int fetch_alternates(char *base) buffer.buffer = data; if (get_verbosely) - fprintf(stderr, "Getting alternates list\n"); + fprintf(stderr, "Getting alternates list for %s\n", base); url = xmalloc(strlen(base) + 31); sprintf(url, "%s/objects/info/http-alternates", base); @@ -909,7 +911,7 @@ static int fetch_indices(struct alt_base *repo) buffer.buffer = data; if (get_verbosely) - fprintf(stderr, "Getting pack list\n"); + fprintf(stderr, "Getting pack list for %s\n", repo->base); url = xmalloc(strlen(repo->base) + 21); sprintf(url, "%s/objects/info/packs", repo->base); |