From: Jeff King Date: Tue, 06 May 2014 21:55:16 GMT Subject: Re: [PATCH v2] pager: remove 'S' from $LESS by default Message-ID: <20140506215516.GA30185@sigill.intra.peff.net> In-Reply-To: On Tue, May 06, 2014 at 08:49:22PM +0200, Matthieu Moy wrote: > Exactly. I personally never use "git blame" outside "git gui blame" for > this reason. I'd recommend "tig blame" for this, too, which behaves like "less -S" with respect to long lines (and also makes it easy to jump to the full diff, or restart the blame from the parent of the found commit). > It's possible for a user to set pager.blame to "less -S" to get back to > the previous behavior only for blame. > > The idea of having a separate default value for pager.blame (or set > $LESS differently for blame) crossed my mind, but I actually don't like > it, as it would make it harder for a user to fine-tune his configuration > manually (one would have to cancel all the corner-cases that Git would > set by default). Agreed. We already get some confusion from users with "git has set $LESS for me". Changing it to "git set up $LESS depending on which command is running" seems like it would cause more of the same. -Peff