Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'je/pager-do-not-recurse'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 6 Jun 2014 18:16:59 +0000
(11:16 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 6 Jun 2014 18:17:00 +0000
(11:17 -0700)
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
pager.c
patch
|
blob
|
history
raw
(from parent 1:
e88155d
)
diff --git
a/pager.c
b/pager.c
index f75e8aece0d4273afd994e2b3eca70a02fa2d8c9..8b5cbc56e4fd57a1b9d2cad3e668df4c508a7b17 100644
(file)
--- a/
pager.c
+++ b/
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;
/*