diff options
author | Junio C Hamano <junkio@cox.net> | 2006-10-20 16:37:49 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-20 16:37:49 -0700 |
commit | 96a035d1db9082d244867033020d0ceb571cf94e (patch) | |
tree | ec86274f079ff52f2f8947de406e7d9762f15e3d | |
parent | git-apply: prepare for upcoming GNU diff -u format change. (diff) | |
download | tgif-96a035d1db9082d244867033020d0ceb571cf94e.tar.xz |
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>
-rw-r--r-- | pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |