git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
b507b46
)
pager: default to LESS=FRS
author
Junio C Hamano
<redacted>
Fri, 20 Oct 2006 23:37:49 +0000
(16:37 -0700)
committer
Junio C Hamano
<redacted>
Fri, 20 Oct 2006 23:37:49 +0000
(16:37 -0700)
Recent change to paginate "git diff" by default is often irritating
when you do not have any change (or very small change) in your working
tree.
Signed-off-by: Junio C Hamano <redacted>
pager.c
patch
|
blob
|
history
diff --git
a/pager.c
b/pager.c
index dcb398da8e703de2999badb976dee7322eff470b..8bd33a15ca50f01b3c5a5e4028dc0b64d5360a92 100644
(file)
--- a/
pager.c
+++ b/
pager.c
@@
-50,7
+50,7
@@
void setup_pager(void)
close(fd[0]);
close(fd[1]);
- setenv("LESS", "
-
RS", 0);
+ setenv("LESS", "
F
RS", 0);
run_pager(pager);
die("unable to execute pager '%s'", pager);
exit(255);
git clone https://git.99rst.org/PROJECT