@matheusbsbs / matheus-bagliano / commits / 6fd72e39af
Fork 0

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>

Petr Baudis committed Nov 12, 2005 at 01:49 UTC 6fd72e39af8a69615d32c3fd4d5fe0788f54a2ea
1 file changed +2 -2
http-fetch.c
+2 -2
@@ -788,7 +788,7 @@ static int fetch_alternates(char *base)
788 buffer.buffer = data;
789
790 if (get_verbosely)
791 - fprintf(stderr, "Getting alternates list\n");
791 + fprintf(stderr, "Getting alternates list for %s\n", base);
792
793 url = xmalloc(strlen(base) + 31);
794 sprintf(url, "%s/objects/info/http-alternates", base);
@@ -911,7 +911,7 @@ static int fetch_indices(struct alt_base *repo)
911 buffer.buffer = data;
912
913 if (get_verbosely)
914 - fprintf(stderr, "Getting pack list\n");
914 + fprintf(stderr, "Getting pack list for %s\n", repo->base);
915
916 url = xmalloc(strlen(repo->base) + 21);
917 sprintf(url, "%s/objects/info/packs", repo->base);