From: Matthieu Moy Date: Tue, 07 Oct 2008 14:30:41 GMT Subject: Re: Git pager woes Message-ID: In-Reply-To: <3aaafc130810070643m352ea2ufa1069dc149f0d9e@mail.gmail.com> "J.R. Mauro" writes: > Git doesn't set special options to it's pager command if the LESS > environment variable is set. Yes, this is by design: if you customized less, git obeys the configuration you've set. Otherwise, it takes a default wich is more appropriate to git that what "less" does without $LESS set. That policy isn't perfect, but I think any other would be worse: I wouldn'l like git to change my configuration if I did set $LESS myself, and I also prefer git's default to LESS default when it comes to paging git commands (but I like less's default for other uses, for example, I like the man page to disapear when I close it). -- Matthieu