Re: [Announce] GIT v1.5.0-rc2

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

 



On Tuesday, January 23, 2007 at 21:22:32 (+0100) Uwe Kleine-König writes:
>> % export PAGER=less
>> % unset LESS
>> % git diff
>> 
>> I get 30 lines of output in my current repository, as I should.
>> 
>> If I then do this:
>> 
>> % LESS=-FRS git diff
>What about:
>
>	LESS=-FRSX git diff

Well, I see output when there is output to show, yes, but it still
blanks the screen --- or, I should say, scrolls all the way to the
bottom --- when there is no difference to show.

I do note that if LESS is not set, git sets it (in pager.c) to just
what you have above (FRSX).


Bill
-
To unsubscribe from this list: 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]