Show URL in the "Getting <foo> list" http-fetch messages
Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
e9af60c88b
commit
6fd72e39af
@ -788,7 +788,7 @@ static int fetch_alternates(char *base)
|
|||||||
buffer.buffer = data;
|
buffer.buffer = data;
|
||||||
|
|
||||||
if (get_verbosely)
|
if (get_verbosely)
|
||||||
fprintf(stderr, "Getting alternates list\n");
|
fprintf(stderr, "Getting alternates list for %s\n", base);
|
||||||
|
|
||||||
url = xmalloc(strlen(base) + 31);
|
url = xmalloc(strlen(base) + 31);
|
||||||
sprintf(url, "%s/objects/info/http-alternates", base);
|
sprintf(url, "%s/objects/info/http-alternates", base);
|
||||||
@ -911,7 +911,7 @@ static int fetch_indices(struct alt_base *repo)
|
|||||||
buffer.buffer = data;
|
buffer.buffer = data;
|
||||||
|
|
||||||
if (get_verbosely)
|
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);
|
url = xmalloc(strlen(repo->base) + 21);
|
||||||
sprintf(url, "%s/objects/info/packs", repo->base);
|
sprintf(url, "%s/objects/info/packs", repo->base);
|
||||||
|
Loading…
Reference in New Issue
Block a user