pager: default to LESS=FRS
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 <junkio@cox.net>
Junio C Hamano committed
Oct 20, 2006 at 16:37 UTC
96a035d1db9082d244867033020d0ceb571cf94e
1 file changed
+1
-1
pager.c
+1
-1
@@ -50,7 +50,7 @@ void setup_pager(void)
50
close(fd[0]);
51
close(fd[1]);
52
53
- setenv("LESS", "-RS", 0);
53
+ setenv("LESS", "FRS", 0);
54
run_pager(pager);
55
die("unable to execute pager '%s'", pager);
56
exit(255);