allow command-specific pagers in pager.<cmd>
commit9bad7233699e1fcf58e75f1e163499ec24680826
authorJeff King <peff@peff.net>
Wed, 17 Nov 2010 17:04:12 +0000 (17 12:04 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Nov 2010 19:37:06 +0000 (17 11:37 -0800)
treed6e85cf6685d7a3d88c45702a9aead6c6f99f66e
parentb2be2f6aeaa8f4af602679e5571d2e916a259d91
allow command-specific pagers in pager.<cmd>

A user may want different pager settings or even a
different pager for various subcommands (e.g., because they
use different less settings for "log" vs "diff", or because
they have a pager that interprets only log output but not
other commands).

This patch extends the pager.<cmd> syntax to support not
only boolean to-page-or-not-to-page, but also to specify a
pager just for a specific command.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
git.c
t/t7006-pager.sh