Re: [PATCH] pager: set LV=-c alongside LESS=FRSX
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Jan 7, 2014, 18:17 UTC
- Message-ID
- <87iotvbqsa.fsf@igel.home>
- In-Reply-To
- <xmqqha9fg225.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
> - Scripted Porcelains get LESS=-FRSX while C Porcelains get > LESS=FRSX as the default (the leading dash being the > difference), which looks somewhat inconsistent. Not a new > problem, though.
Even the less manpage is inconsistent about whether $LESS should start with a dash (there are examples with and without it). Implementation-wise, less uses the same function to process an option argument (including the leading dash) and the value of $LESS, so the form with the leading dash is probably preferred.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."