From: Christoph Anton Mitterer Date: Thu, 12 Oct 2023 03:54:51 GMT Subject: Re: why does git set X in LESS env var? Message-ID: <07bf5744c7d123635740c62a940999e089339fa4.camel@scientia.org> In-Reply-To: <20231012000416.GA520855@coredump.intra.peff.net> Hey. Just noted that the popular bat utility apparently also uses -X to make -F work (but also mention that this break scrolling). But it seem they have a check, an if less is version 530 or newer they don't set -X. https://github.com/sharkdp/bat#using-a-different-pager Could be a way to go for git. Cheers, Chris.