Re: Make "git clone" less of a deathly quiet experience
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Feb 11, 2006, 17:45 UTC
- Message-ID
- <Pine.LNX.4.64.0602110943170.3691@g5.osdl.org>
- In-Reply-To
- <7vwtg2o37c.fsf@assigned-by-dhcp.cox.net>
On Fri, 10 Feb 2006, Junio C Hamano wrote:
> > It probably should default to quiet if (!isatty(1)).
Sounds fine. isatty(2), though, since we use stderr for these messages (stdout is usually the data-stream).
> 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.
More importantly, it really wouldn't have helped that much in this situation. At least for me, the network is 90% of the problem, the pack-file generation is at most 10%. So cached packfiles really only matter for server-side problems (high CPU load, or lack of memory, or heavy disk activity).
So the problems really are very independent.
Linus