author | Jeff King <peff@peff.net> | |
Wed, 17 Nov 2010 17:04:12 +0000 (12:04 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Nov 2010 19:37:06 +0000 (11:37 -0800) | ||
commit | 9bad7233699e1fcf58e75f1e163499ec24680826 | |
tree | d6e85cf6685d7a3d88c45702a9aead6c6f99f66e | tree | snapshot |
parent | b2be2f6aeaa8f4af602679e5571d2e916a259d91 | commit | diff |
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>
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 | diff | blob | history | |
git.c | diff | blob | history | |
t/t7006-pager.sh | diff | blob | history |