Builtins: control the use of pager from the command table.
authorJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 09:53:46 +0000 (02:53 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 31 Jul 2006 22:32:23 +0000 (15:32 -0700)
commit9590b041ea464c46d5a6811df5bce83c5dd4d457
tree7c1f434b8bcd6a62bdb3d934bfe96ee8e521edd6
parent3e04228b0c4bbb4b5cd46db9a714dfe699fa4cb8
Builtins: control the use of pager from the command table.

This moves the built-in "always-use-pager" logic for log family
to the command dispatch table of git wrapper.  This makes it
easier to change the default use of pager, and has an added
benefit that we fork and exec the pager early before packs are
mmapped.

Pointed out by Juergen Ruehle <j.ruehle@bmiag.de>.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c
git.c