Re: [ANNOUNCE] GIT 1.4.3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Friday, October 20, 2006 - 4:35 pm

Junio C Hamano <junkio@cox.net> writes:


I am considering the following to address irritation some people
(including me, actually) are experiencing with this change when
viewing a small (or no) diff.  Any objections?

diff --git a/pager.c b/pager.c
index dcb398d..8bd33a1 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);

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] GIT 1.4.3, Junio C Hamano, (Wed Oct 18, 4:53 pm)
Re: [ANNOUNCE] GIT 1.4.3 , Horst H. von Brand, (Fri Oct 20, 5:31 am)
Re: [ANNOUNCE] GIT 1.4.3, Junio C Hamano, (Fri Oct 20, 4:35 pm)
Re: [ANNOUNCE] GIT 1.4.3, Linus Torvalds, (Fri Oct 20, 5:14 pm)
Re: [ANNOUNCE] GIT 1.4.3, Petr Baudis, (Fri Oct 20, 5:22 pm)
Re: [ANNOUNCE] GIT 1.4.3, Linus Torvalds, (Fri Oct 20, 5:31 pm)
Re: [ANNOUNCE] GIT 1.4.3, Nicolas Pitre, (Fri Oct 20, 5:47 pm)
Re: [ANNOUNCE] GIT 1.4.3, Al Viro, (Fri Oct 20, 7:12 pm)
Re: [ANNOUNCE] GIT 1.4.3, Junio C Hamano, (Fri Oct 20, 10:29 pm)
Re: [ANNOUNCE] GIT 1.4.3, Al Viro, (Fri Oct 20, 10:40 pm)
Re: [ANNOUNCE] GIT 1.4.3, Andreas Schwab, (Sat Oct 21, 2:53 am)
Re: [ANNOUNCE] GIT 1.4.3, Rene Scharfe, (Sat Oct 21, 7:29 am)
Re: prune/prune-packed, J. Bruce Fields, (Sun Oct 22, 5:53 pm)
Re: prune/prune-packed, A Large Angry SCM, (Sun Oct 22, 6:26 pm)
Re: [ANNOUNCE] GIT 1.4.3, J. Bruce Fields, (Sun Oct 22, 7:36 pm)
Re: prune/prune-packed, Junio C Hamano, (Sun Oct 22, 8:27 pm)
Re: prune/prune-packed, Petr Baudis, (Mon Oct 23, 11:39 am)
Re: prune/prune-packed, Jon Loeliger, (Fri Oct 27, 2:19 pm)
Re: prune/prune-packed, Junio C Hamano, (Fri Oct 27, 2:55 pm)