projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian packaging: git-cvs needs cvsps
[git.git]
/
http-fetch.c
diff --git
a/http-fetch.c
b/http-fetch.c
index
88b74b4
..
f39e748
100644
(file)
--- a/
http-fetch.c
+++ b/
http-fetch.c
@@
-269,6
+269,8
@@
static CURL* get_curl_handle(void)
curl_low_speed_time);
}
curl_low_speed_time);
}
+ curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1);
+
return result;
}
return result;
}
@@
-786,7
+788,7
@@
static int fetch_alternates(char *base)
buffer.buffer = data;
if (get_verbosely)
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);
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)
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);
url = xmalloc(strlen(repo->base) + 21);
sprintf(url, "%s/objects/info/packs", repo->base);