Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge branch 'je/pager-do-not-recurse'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Jun 6, 2014
2 parents e88155d + c0459ca commit db6fbe3
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
Expand Up @@ -64,7 +64,7 @@ void setup_pager(void)
{
const char *pager = git_pager(isatty(1));

if (!pager || pager_in_use())
if (!pager)
return;

/*
Expand Down

0 comments on commit db6fbe3

Please sign in to comment.