mirror of
https://github.com/git/git.git
synced 2025-04-18 15:04:18 +00:00
Merge branch 'je/pager-do-not-recurse' into maint
We used to unconditionally disable the pager in the pager process we spawn to feed out output, but that prevented people who want to run "less" within "less" from doing so. * je/pager-do-not-recurse: pager: do allow spawning pager recursively
This commit is contained in:
commit
e293c563b0
2
pager.c
2
pager.c
@ -64,7 +64,7 @@ void setup_pager(void)
|
||||
{
|
||||
const char *pager = git_pager(isatty(1));
|
||||
|
||||
if (!pager || pager_in_use())
|
||||
if (!pager)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user