Skip to content

Commit

Permalink
Merge branch 'jc/pager-cat'
Browse files Browse the repository at this point in the history
* jc/pager-cat:
  Do not fork PAGER=cat
  • Loading branch information
Junio C Hamano committed Apr 18, 2006
2 parents 34e98ea + caef71a commit 24735cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pager.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 24735cf

Please sign in to comment.