Merge branch 'jc/pager-cat'

* jc/pager-cat:
  Do not fork PAGER=cat
This commit is contained in:
Junio C Hamano 2006-04-18 13:57:22 -07:00
commit 24735cfc50

View File

@ -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)