Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Show URL in the "Getting <foo> list" http-fetch messages
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Petr Baudis authored and Junio C Hamano committed Nov 12, 2005
1 parent e9af60c commit 6fd72e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http-fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,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);
Expand Down Expand Up @@ -911,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);
Expand Down

0 comments on commit 6fd72e3

Please sign in to comment.