Re: [Announce] GIT v1.5.0-rc2
From: Bill Lear <hidden>
Date: 2016-06-15 22:42:50
On Tuesday, January 23, 2007 at 22:09:24 (+0100) Peter Baumann writes:
Bill Lear [off-list ref] schrieb:quoted
... If I do this: % 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 I get nothing --- I do see a brief blink of output, but it's as if less swallows it whole and I see nothing but the next prompt.This is propably caused by activating "Enable Alternate Screen Switching" in xterm. If you have this feature enabled, you get a clean screen (no fragments of the displayed file are shown after quitting less). Try to disable it and see if it works.
Tried as instructed: I get output when I should get output. However, when I should get no output, it clears/scrolls all the way down to the bottom of the screen (LESS=-FRS git diff). Bill