Re: [PATCH] Add core.pager config variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux