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