Skip to content

Commit

Permalink
pager: default to LESS=FRS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Oct 20, 2006
1 parent b507b46 commit 96a035d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96a035d

Please sign in to comment.