Dear diary, on Thu, Apr 21, 2005 at 06:28:34AM CEST, I got a letter where Daniel Jacobowitz <[EMAIL PROTECTED]> told me that... > On Wed, Apr 20, 2005 at 09:00:44PM -0700, Linus Torvalds wrote: > > > > > > 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? > > OK, so I'm crazy. I must have hallucinated doing this sort of thing on > a regular basis... :-) Examples: terminals with good scrollback, > screen, script. Small repositories. Irritation at less's habit of > using the alternate xterm buffer, whatever the technical term for that > is.
... Plan9. But I guess you won't even have a pager there. ;-) A little off-topic, anyone knows how to turn off that damn alternate screen thing on the xterm level? (Or any other level which makes _all_ programs not to use it.) More seriously, I think Linus' patch is fine; the usage in scripts is not affected, and alternatives were suggested. When we have cg-admin, I might even let you set per-repository git-specific PAGER (which you could set to be even some fancy script which would parse the stuff, open a cute window and display stuff graphically, or whatever). Linus, ahem, could you please sign off your patch? :-) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor - 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