From: Brian Gernhardt Date: Tue, 03 Jul 2007 19:50:08 GMT Subject: Re: [PATCH] Add core.pager config variable. Message-ID: <5CF58212-5486-4BA6-AC78-50F62D1B7F6E@silverinsanity.com> In-Reply-To: <200707032142.07154.robin.rosenberg.lists@dewire.com> On Jul 3, 2007, at 3:42 PM, Robin Rosenberg wrote: > Nak. > > PAGER cannot override core.pager with this. core.pager is acting exactly like GIT_PAGER. The priority goes (from pager.c:30): GIT_PAGER core.pager PAGER "less" I think this is a desirable option because I'd like to tell all other programs to use less and tell git to use tig (which I'm trying out). I specifically want core.pager to override PAGER, but this leaves GIT_PAGER as the final override. Why should I export an environment variable to every program when git has a configuration file? And what does overriding PAGER break? If the user doesn't want to use core.pager, they don't have to. ~~ Brian