Re: [PATCH/RFC] "git --less cmd" to page anywhere

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 7 Jun 2006, Martin Langhoff wrote:
> 
> Why is it not a good default? Unless I expect it to be shorter than
> the terminal, I always tack "| less" after it. Except when I tack ">
> foo.patch" and then the auto-pager knows what to do anyway.

I often tack "| less" after it in some situations, but in other situations 
I _never_ do.

I often use "git diff" as a way to see that my tree is clean. Sure, I 
could do "git status", but if it's not clean, it's usually something 
small, so I want to know what I changed last. At that point, a default 
pager would be very annoying.

The "more" behaviour (which only paginates unto the end) might work for 
me (ie the "git diff" auto-pager would act like "more" or "less -EX")

I dunno.

		Linus
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]