packaging vs default pager

From: Ben Walton <hidden>
Date: 2016-06-15 22:47:37

Hi All,

I'd like to see what people think about providing a configure/Makefile
knob for overriding the default pager at build time.  Currently,
things use 'less' as the fallback and rely on the path to find
it.

On (old) solaris systems, /usr/bin/less (typically the first less
found) doesn't understand the default arguments (FXRS), which forces
users to alter their environment (PATH, GIT_PAGER, LESS, etc) or have
a local or global gitconfig before paging works as expected.

Would it be completely out of line to provide a knob so that the
fallback $pager could be set to something more specific/appropriate
during the build?  [I'll do the work but not if it's an undesirable
addition.]

Alternately, are packagers recommended to simply ship a global
gitconfig that sets core.pager?

Thanks
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help