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