mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
Merge branch 'jc/pager-cat'
* jc/pager-cat: Do not fork PAGER=cat
This commit is contained in:
commit
24735cfc50
1 changed files with 1 additions and 1 deletions
2
pager.c
2
pager.c
|
@ -20,7 +20,7 @@ void setup_pager(void)
|
|||
return;
|
||||
if (!pager)
|
||||
pager = "less";
|
||||
else if (!*pager)
|
||||
else if (!*pager || !strcmp(pager, "cat"))
|
||||
return;
|
||||
|
||||
if (pipe(fd) < 0)
|
||||
|
|
Loading…
Reference in a new issue