[PATCH 2 of 2] pager: skip running the pager if it's set to 'cat'

Augie Fackler raf at durin42.com
Thu Mar 16 12:44:15 EDT 2017


> On Mar 15, 2017, at 21:12, Jun Wu <quark at fb.com> wrote:
> 
> Another thing that git does (reasonably, I think) is to set default
> environment variable. Say if we decide to go with shell=False, set LESS=FRX
> so people using pager.pager=less will have a better experience.

We should add that environment variable iff it's not already set in the user's environment, of course.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170316/31834f5c/attachment.html>


More information about the Mercurial-devel mailing list