Skip to content

Commit 6fd72e3

Browse files
Petr BaudisJunio C Hamano
authored andcommitted
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>
1 parent e9af60c commit 6fd72e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http-fetch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ static int fetch_alternates(char *base)
788788
buffer.buffer = data;
789789

790790
if (get_verbosely)
791-
fprintf(stderr, "Getting alternates list\n");
791+
fprintf(stderr, "Getting alternates list for %s\n", base);
792792

793793
url = xmalloc(strlen(base) + 31);
794794
sprintf(url, "%s/objects/info/http-alternates", base);
@@ -911,7 +911,7 @@ static int fetch_indices(struct alt_base *repo)
911911
buffer.buffer = data;
912912

913913
if (get_verbosely)
914-
fprintf(stderr, "Getting pack list\n");
914+
fprintf(stderr, "Getting pack list for %s\n", repo->base);
915915

916916
url = xmalloc(strlen(repo->base) + 21);
917917
sprintf(url, "%s/objects/info/packs", repo->base);

0 commit comments

Comments
 (0)