Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes
- From
- Daniel Jacobowitz <dan@debian.org>
- Date
- Apr 21, 2005, 03:35 UTC
- Message-ID
- <20050421033526.GA9404@nevyn.them.org>
- In-Reply-To
- <Pine.LNX.4.58.0504201809170.2344@ppc970.osdl.org>
On Wed, Apr 20, 2005 at 06:12:34PM -0700, Linus Torvalds wrote:
Show 10 quoted lines
> Here's a slightly updated version.
>
> It's identical to the previous one, except that it also feeds the result
> through "| ${PAGER:-less}" which makes it a lot more useful, in my
> opinion.
>
> If you redirect the output to a non-tty, both "less" and "more" do the
> right thing and just feed the output straight through. But if the output
> is a tty, this makes "git log" a lot more friendly than a quickly
> scrolling mess..Personally, I'd rather it didn't do this; bk help does the same thing, and it drives me crazy. I guess you have /usr/bin/man for a precedent, though :-)
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.
-- Daniel Jacobowitz CodeSourcery, LLC