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

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

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 11, 2006, 18:39 UTC
Message-ID
<20060211183959.GA9984@steel.home>
In-Reply-To
<Pine.LNX.4.64.0602102018250.3691@g5.osdl.org>
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);
 }
Previous: Junio C HamanoNext: Linus Torvalds
Message 23 of 24 in “Make "git clone" less of a deathly quiet experience”
  1. Linus TorvaldsFeb 11, 2006
  2. Linus TorvaldsFeb 11, 2006
  3. Junio C HamanoFeb 11, 2006
  4. Linus TorvaldsFeb 11, 2006
  5. Junio C HamanoFeb 11, 2006
  6. Craig SchlenterFeb 11, 2006
  7. Radoslaw SzkodzinskiFeb 11, 2006
  8. Petr BaudisFeb 11, 2006
  9. Radoslaw SzkodzinskiFeb 11, 2006
  10. Petr BaudisFeb 11, 2006
  11. Petr BaudisFeb 11, 2006
  12. Alex RiesenFeb 11, 2006
  13. Linus TorvaldsFeb 11, 2006
  14. Keith PackardFeb 11, 2006
  15. Andreas EricssonFeb 12, 2006
  16. Keith PackardFeb 12, 2006
  17. Andreas EricssonFeb 12, 2006
  18. Keith PackardFeb 12, 2006
  19. Eric W. BiedermanFeb 16, 2006
  20. Junio C HamanoFeb 16, 2006
  21. Martin LanghoffFeb 13, 2006
  22. Junio C HamanoFeb 13, 2006
  23. Alex RiesenFeb 11, 2006
  24. Linus TorvaldsFeb 11, 2006

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.