Bill Lear wrote: > 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. Ah, OK, now I got it. Sorry, I understood you wrong. Seems like something that needs fixing in less. At least I cannot find an option for that. But I'm not sure that all people would consider that being a bug. Best regards Uwe -- Uwe Kleine-König http://www.google.com/search?q=72+PS+point+in+inch - 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