Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH RFC/RFD] clone: quell the progress report from init

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:30

Nicolas Pitre [off-list ref] writes:
On Fri, 26 Mar 2010, Junio C Hamano wrote:
quoted
An alternative might be to squelch init_db() like your patch did, and then
replace it with a message of our own, perhaps like this:

 $ git clone -n /var/tmp/gomi victim-003
 Cloning into victim-003...
 done.
 $ git clone -n file:///var/tmp/gomi victim-004
 Cloning into victim-004...
 remote: Counting objects: ...
 Receiving objects: 100% (120/120), done.

Here I am assuming we would add "done." to the local codepath.
...
Personally I like your suggestion above.  A clone is not something you 
perform repeatedly, and it is the first thing that random people told to 
use Git to grab a piece of code will do.  Better give them some comfort 
by telling them what is happening.
Ok, I can agree with that.  People who like silence can always say -q ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help