On Saturday 2008-06-21 23:42, Junio C Hamano wrote: >"Vegard Nossum" <vegard.nossum@xxxxxxxxx> writes: > >> On Sat, Jun 21, 2008 at 11:21 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: >>> >>> Since git 1.5.6, `git status` always invokes a pager, which is really >>> annoying when the output is less than the number of terminal rows >>> available. Can I turn that off somehow or do I need to send a reverting >>> patch? >> >> I think it would work to set PAGER="less -F" (a.k.a. --quit-if-one-screen)? > >Probably better with LESS=FRSX, which is what git uses as a sane default >if nothing is set. > I went with Vegard's suggestion to change the pager command in ~/.gitconfig, since I have the $LESS environment variable already defined as "-MSi", and I do not want to change that; because if I am going to run less (often at the end of a pipe), I certainly do not want it to just quit on me. So -F in $LESS is a no-no. Since I need "-MRSi" for git anyhow, tweaking ~/.gitconfig was easy. -- 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