Re: Make "git clone" less of a deathly quiet experience
Linus Torvalds, Sat, Feb 11, 2006 05:31:09 +0100:
Show 5 quoted lines
> 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);
}