Re: Make "git clone" less of a deathly quiet experience
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 11, 2006, 05:48 UTC
- Message-ID
- <7vwtg2o37c.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0602102018250.3691@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 9 quoted lines
> Anyway, _something_ like this is definitely needed. It could certainly be > better (if it showed the same kind of thing that git-unpack-objects did, > that would be much nicer, but would require parsing the object stream as > it comes in). But this is big step forward, I think. > > Signed-off-by: Linus Torvalds <torvalds@osdl.org> > --- > > Comments? Hate-mail? Improvements?
It probably should default to quiet if (!isatty(1)).
The real improvement, independent of this client-side patch, would be to reuse recently generated packs, but that needs writable cache directory on the server side. Another thing that I stumbled upon last time I tried it was that it did not look totally trivial to modify the csum-file interface so that I can splice the output from it into two different destinations (one to cachefile, the other to the consumer).