Re: Make "git clone" less of a deathly quiet experience

From: Alex Riesen <raa.lkml@gmail.com>
Date: 2006-02-12 05:39:59
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 <raa.lkml@gmail.com>

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);
 }

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Feb 12 05:40:57 2006

This archive was generated by hypermail 2.1.8 : 2006-02-12 05:41:08 EST