Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'je/pager-do-not-recurse' into maint
author
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jun 2014 18:43:07 +0000
(11:43 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 25 Jun 2014 18:43:07 +0000
(11:43 -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:
9a597ed
)
diff --git
a/pager.c
b/pager.c
index 0cc75a8eee32a0195a74c6819a04745f341e45e3..53670a63a7ae4dc3a9199671fe899c31251a916c 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;
/*