diff options
Diffstat (limited to 'pager.c')
-rw-r--r-- | pager.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ void setup_pager(void) if (!isatty(1)) return; + if (!pager) { + if (!pager_program) + git_config(git_default_config); + pager = pager_program; + } if (!pager) pager = getenv("PAGER"); if (!pager) |