From: Alex Riesen Date: Sat, 11 Feb 2006 18:39:59 GMT Subject: Re: Make "git clone" less of a deathly quiet experience Message-ID: <20060211183959.GA9984@steel.home> In-Reply-To: Linus Torvalds, Sat, Feb 11, 2006 05:31:09 +0100: > So with this patch, I get something like this on my DSL line: > > [torvalds@g5 ~]$ time git clone master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 clone-test > Packing 188543 objects > 48.398MB (154 kB/s) I get this: $ git clone . ../cloned Packing 15440 objects $ 2 kB/s) I'd put a \n before finish_pack to make it nicer. Signed-off-by: Alex Riesen diff --git a/fetch-clone.c b/fetch-clone.c index b67d976..37141e9 100644 --- a/fetch-clone.c +++ b/fetch-clone.c @@ -193,5 +193,7 @@ int receive_keep_pack(int fd[2], const c } } close(ofd); + if ( !quiet ) + fputc('\n', stderr); return finish_pack(tmpfile, me); }