Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 21, 2005, 04:00 UTC
- Message-ID
- <Pine.LNX.4.58.0504202056310.2344@ppc970.osdl.org>
- In-Reply-To
- <20050421033526.GA9404@nevyn.them.org>
On Wed, 20 Apr 2005, Daniel Jacobowitz wrote:
> > My logic: it's a lot more intuitive to say "cg-log | less" to get > paginated output than it is to say "cg-log | cat" to get unpaginated > output.
I disagree.
There is _never_ any valid situation where you do "cg-log" with unpaginated output to a tty.
In _any_ real system you'll be getting thousands of lines of output. Possibly millions. unpaginated? What the hell are you talking about?
And as I pointed out, if the output is not a tty, then both less and more automatically turn into cat, so there's no difference. This change _only_ triggers for a tty, and I dare you to show a single relevant project where it's ok to scroll thousands of lines.
Even git-pasky, which is just a two-week-old project right now outputs 4338 lines of output to "git log".
Unpaginated? You must be kidding.
(But if you are _that_ fast a reader, then hey, use "PAGER=cat", and you'll find yourself happy).
Linus