git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 26, 2010, 20:24 UTC
Message-ID
<7vzl1uhlw8.fsf@alter.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.2.00.1003261611130.694@xanadu.home>
Nicolas Pitre <nico@fluxnic.net> writes:
Show 19 quoted lines
> On Fri, 26 Mar 2010, Junio C Hamano wrote:
>
>> 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 ;-)
Previous: Nicolas PitreNext: Junio C Hamano
Message 11 of 18 in “color (red) for error messages on all git commands”
  1. Neal KreitzingerMar 24, 2010
  2. Sverre RabbelierMar 24, 2010
  3. Alex RiesenMar 24, 2010
  4. Michael J GruberMar 25, 2010
  5. clone: quell the progress report from initMichael J Gruber, Mar 25, 2010
  6. Alex RiesenMar 25, 2010
  7. Michael J GruberMar 25, 2010
  8. Tilo SchwarzMar 25, 2010
  9. Junio C HamanoMar 26, 2010
  10. Nicolas PitreMar 26, 2010
  11. Junio C HamanoMar 26, 2010
  12. Junio C HamanoMar 30, 2010
  13. Michael J GruberMar 30, 2010
  14. Alex RiesenMar 30, 2010
  15. clone: quell the progress report from init and report on cloneMichael J Gruber, Apr 1, 2010
  16. Junio C HamanoApr 2, 2010
  17. Michael J GruberApr 4, 2010
  18. clone: quell the progress report from init and report on cloneMichael J Gruber, Apr 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.