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