Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pager: default to LESS=FRSX not LESS=FRS
author
Junio C Hamano
<junkio@cox.net>
Mon, 23 Oct 2006 03:28:10 +0000
(20:28 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 23 Oct 2006 03:28:10 +0000
(20:28 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
pager.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
2eb53e6
)
diff --git
a/pager.c
b/pager.c
index 8bd33a15ca50f01b3c5a5e4028dc0b64d5360a92..4587fbbdb51e50c1e3e6e4c3476cdccd4ac59cee 100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-50,7
+50,7
@@
void setup_pager(void)
close(fd[0]);
close(fd[1]);
close(fd[0]);
close(fd[1]);
- setenv("LESS", "FRS", 0);
+ setenv("LESS", "FRS
X
", 0);
run_pager(pager);
die("unable to execute pager '%s'", pager);
exit(255);
run_pager(pager);
die("unable to execute pager '%s'", pager);
exit(255);