From: Junio C Hamano Date: Fri, 20 Oct 2006 23:37:49 +0000 (-0700) Subject: pager: default to LESS=FRS X-Git-Tag: v1.4.3.1~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=96a035d1db9082d244867033020d0ceb571cf94e;p=git.git 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 --- diff --git a/pager.c b/pager.c index dcb398da8..8bd33a15c 100644 --- 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", "FRS", 0); run_pager(pager); die("unable to execute pager '%s'", pager); exit(255);