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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to