[PATCH stable] pager: exec pager using /bin/sh -c

Martin Geisler mg at aragost.com
Fri May 21 08:08:13 CDT 2010


David Soria Parra <dsp at php.net> writes:

> On 2010-05-21, Martin Geisler <mg at aragost.com> wrote:
>> Augie Fackler <durin42 at gmail.com> writes:
>>
>>
>> Yeah, and I was looking at the docs and thinking "huh?" :-)
>>
>> Maybe it's just me who has never considered setting an environment
>> option for something like this where a command line flag or shell alias
>> works just as well.
> I introduced it because I use it exactly this way.

But why would you use it like that in a configuration file? To me, it's
clearer to manipulate the program directly using command line options
instead of indirectly by putting something in the environment.

> From my perspective it would be a backward compatbility break to make
> LESS=FRSX less not possible.

Yeah, I also don't think we're going to break compatibility, I'm just
curious why people like that way :-)

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list