From: Eygene Ryabinkin <rea-git@codelabs.ru>
To: git@vger.kernel.org
Subject: [PATCH] pager: default to LESS=FRX not LESS=FRSX
Date: Mon, 26 Mar 2007 11:35:02 +0400 [thread overview]
Message-ID: <20070326073502.GD44578@codelabs.ru> (raw)
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>
---
| 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--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
next reply other threads:[~2007-03-26 7:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-26 7:35 Eygene Ryabinkin [this message]
2007-03-26 8:28 ` [PATCH] pager: default to LESS=FRX not LESS=FRSX 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070326073502.GD44578@codelabs.ru \
--to=rea-git@codelabs.ru \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).