git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pager: default to LESS=FRX not LESS=FRSX
@ 2007-03-26  7:35 Eygene Ryabinkin
  2007-03-26  8:28 ` Junio C Hamano
  0 siblings, 1 reply; 11+ messages in thread
From: Eygene Ryabinkin @ 2007-03-26  7:35 UTC (permalink / raw)
  To: git

Remove unnecessary '-S' option that enabled less to chop long lines.
It used to provide some confusion at least for the 'git diff':
"Where are my long lines? Are they missed from the patch?".

Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
---
 pager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pager.c b/pager.c
index 5f280ab..2dca00e 100644
--- a/pager.c
+++ b/pager.c
@@ -62,7 +62,7 @@ void setup_pager(void)
 	close(fd[0]);
 	close(fd[1]);
 
-	setenv("LESS", "FRSX", 0);
+	setenv("LESS", "FRX", 0);
 	run_pager(pager);
 	die("unable to execute pager '%s'", pager);
 	exit(255);
-- 
1.5.0.3-dirty

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-03-27  6:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26  7:35 [PATCH] pager: default to LESS=FRX not LESS=FRSX Eygene Ryabinkin
2007-03-26  8:28 ` Junio C Hamano
2007-03-26  8:36   ` Shawn O. Pearce
2007-03-26  8:44     ` Junio C Hamano
2007-03-26 10:08       ` Eygene Ryabinkin
2007-03-26 18:45         ` Junio C Hamano
2007-03-26 19:03         ` Jeff King
2007-03-27  6:47           ` Eygene Ryabinkin
2007-03-26 19:14       ` Bill Lear
2007-03-26 20:27         ` Junio C Hamano
2007-03-27  6:54         ` Eygene Ryabinkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).