author | Jeff King <peff@peff.net> | |
Thu, 18 Aug 2011 22:01:32 +0000 (15:01 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 19 Aug 2011 22:52:25 +0000 (15:52 -0700) | ||
commit | 92058e4d3e032714da6d2df5fa1fe2cf612979a5 | |
tree | 04002eec56f5a5c813e9b7e2c8cf686f6dee2c71 | tree | snapshot |
parent | c9bfb953489e559d513c1627150aa16f8d42d6c5 | commit | diff |
support pager.* for external commands
Without this patch, any commands that are not builtin would
not respect pager.* config. For example:
git config pager.stash false
git stash list
would still use a pager. With this patch, pager.stash now
has an effect. If it is not specified, we will still fall
back to pager.log when we invoke "log" from "stash list".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Without this patch, any commands that are not builtin would
not respect pager.* config. For example:
git config pager.stash false
git stash list
would still use a pager. With this patch, pager.stash now
has an effect. If it is not specified, we will still fall
back to pager.log when we invoke "log" from "stash list".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c | diff | blob | history | |
t/t7006-pager.sh | diff | blob | history |