git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] pager: default to LESS=FRX not LESS=FRSX

From
Junio C Hamano <junkio@cox.net>
Date
Mar 26, 2007, 08:44 UTC
Message-ID
<7v8xdkxukt.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070326083617.GG13247@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 13 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
>> Eygene Ryabinkin <rea-git@codelabs.ru> writes:
>> 
>> > 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?".
>> 
>> It is not "unnecessary", but only "what _you_ are not used to".
>> As this breaks expectentions of people already familiar with
>> what git does by default, I cannot take this patch.
>
> Hear hear.  I completely agree with Junio.  I (and a number of
> other users that I work with) expect this behevaior by default.
Two tips.
 (1) Learn to use left/right arrow keys under "less -S" if you
     have occasional lines that are too long.
 (2) Do not have too many too long lines to begin with.  If you
     cannot comfortably read your code with "less -S", your
     nesting is too deep to be understood with or without line
     folding.
Previous: Shawn O. PearceNext: Eygene Ryabinkin
Message 4 of 11 in “pager: default to LESS=FRX not LESS=FRSX”
  1. pager: default to LESS=FRX not LESS=FRSXEygene Ryabinkin, Mar 26, 2007
  2. Junio C HamanoMar 26, 2007
  3. Shawn O. PearceMar 26, 2007
  4. Junio C HamanoMar 26, 2007
  5. Eygene RyabinkinMar 26, 2007
  6. Junio C HamanoMar 26, 2007
  7. Jeff KingMar 26, 2007
  8. Eygene RyabinkinMar 27, 2007
  9. Bill LearMar 26, 2007
  10. Junio C HamanoMar 26, 2007
  11. Eygene RyabinkinMar 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.