From: Petr Baudis <pasky@suse.cz>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Show URL in the "Getting <foo> list" http-fetch messages
Date: Sat, 12 Nov 2005 01:58:03 +0100 [thread overview]
Message-ID: <20051112005803.GZ30496@pasky.or.cz> (raw)
In-Reply-To: <20051112004958.21857.95728.stgit@machine.or.cz>
Dear diary, on Sat, Nov 12, 2005 at 01:49:59AM CET, I got a letter
where Petr Baudis <pasky@suse.cz> said that...
> Signed-off-by: Petr Baudis <pasky@suse.cz>
> ---
>
> http-fetch.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/http-fetch.c b/http-fetch.c
> index e7655d1..e6e7df6 100644
> --- a/http-fetch.c
> +++ b/http-fetch.c
> @@ -795,7 +795,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);
> @@ -918,7 +918,7 @@ static int fetch_indices(struct alt_base
> 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);
By the way, this is only a pathetic remnant of my brave effort to get
rid of seeing the "Getting alternates list" message on the same
repository 20 times now since the parallel fetching got introduced.
I know how to do silence the messages, but doing the _fetching_ itself
seems as downright stupid thing in the first place.
Therefore, can I somehow stall fetching of an object? The idea is:
I want to check the alternates list!
I don't have it yet...
...but a request for it is already queued. Ok, I'll wait.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
next prev parent reply other threads:[~2005-11-12 0:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 0:49 [PATCH] Show URL in the "Getting <foo> list" http-fetch messages Petr Baudis
2005-11-12 0:58 ` Petr Baudis [this message]
2005-11-12 1:17 ` Junio C Hamano
2005-11-12 17:22 ` Nick Hengeveld
2005-11-14 19:02 ` Nick Hengeveld
2005-11-14 20:11 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051112005803.GZ30496@pasky.or.cz \
--to=pasky@suse.cz \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).