Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Remove unused variables in git_shortlog_body and git_heads
[gitweb.git]
/
pager.c
diff --git
a/pager.c
b/pager.c
index 2d186e8bde1067a62c9615e8d7f0368f98442ca4..280f57f796c84d1c1fd54e295b542c3b33490b3e 100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-24,6
+24,8
@@
void setup_pager(void)
else if (!*pager || !strcmp(pager, "cat"))
return;
+ pager_in_use = 1; /* means we are emitting to terminal */
+
if (pipe(fd) < 0)
return;
pid = fork();