Comment 1 for bug 326460

Revision history for this message
Anders Kaseorg (andersk) wrote :

git exports LESS=FRSX if the LESS environment variable is not already set. The -X (--no-init) is required to let -F (--quit-if-one-screen) work sensibly, but breaks mouse wheel scrolling.

To work around this, you can disable both of those options by exporting LESS=RS. You will gain mouse wheel scrolling, but the disadvantage is that you will always have to explicitly quit the pager, even if it is displaying less than a screenfull.

If you think the default should be changed, consider talking to the upstream developers: <http://vger.kernel.org/vger-lists.html#git>.