]> git.ipfire.org Git - thirdparty/git.git/commit - config.mak.uname
pager: move pager-specific setup into the build
authorEric Wong <e@80x24.org>
Thu, 4 Aug 2016 11:40:25 +0000 (11:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Aug 2016 20:51:02 +0000 (13:51 -0700)
commit995bc22d7f8c611e342095a211065f8585a08e65
treeb4f244806f75de3be427bff1411112a4f4bf1c39
parent08df31eeccfe1576971ea4ba42570a424c3cfc41
pager: move pager-specific setup into the build

Allowing PAGER_ENV to be set at build-time allows us to move
pager-specific knowledge out of our build.  This allows us to
set a better default for FreeBSD more(1), which pretends not to
understand ANSI color escapes if the MORE environment variable
is left empty, but accepts the same variables as less(1)

Originally-from:
 https://public-inbox.org/git/xmqq61piw4yf.fsf@gitster.dls.corp.google.com/

Helped-by: Junio C Hamano <gitster@pobox.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
config.mak.uname
git-sh-setup.sh
pager.c
t/t7006-pager.sh