From: Jeff King Date: Thu, 08 Feb 2018 08:50:16 GMT Subject: Re: "git branch" issue in 2.16.1 Message-ID: <20180208085015.GA24571@sigill.intra.peff.net> In-Reply-To: On Wed, Feb 07, 2018 at 11:20:08PM +0100, Lars Schneider wrote: > > 1. You have $LESS in your environment (without "F") on one platform > > but not the other. > > I think that's it. On my system LESS is defined to "-R". > > This opens the pager: > > $ echo "TEST" | less > > This does not open the pager: > > $ echo "TEST" | less -FRX > > That means "F" works on macOS but Git doesn't set it because LESS is > already in my environment. > > Question is, why is LESS set that way on my system? I can't find > it in .bashrc .bash_profile .zshrc and friends. There's also /etc/bash.bashrc, /etc/profile, etc. I don't know what's normal in the mac world. You can try running: bash -ix 2>&1