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

Re: [PATCH] Documentation: improve the example of overriding LESS via core.pager

From
Jeff King <peff@peff.net>
Date
Oct 29, 2012, 06:26 UTC
Message-ID
<20121029062657.GB5102@sigill.intra.peff.net>
In-Reply-To
<1351455166-2579-1-git-send-email-patrick@parcs.ath.cx>
On Sun, Oct 28, 2012 at 04:12:46PM -0400, Patrick Palka wrote:
> You can override an option set in the LESS variable by simply prefixing
> the command line option with `-+`. This is more robust than the previous
> example if the default LESS options are to ever change.

Yeah, the current description is quite tortured and complex. I wondered if there might be some reason, but I think it is simply that fee7545 was over-zealous in adopting the original text. Yours is much more sensible.

Thanks.
-Peff
Previous: Patrick Palka
Message 2 of 2 in “Documentation: improve the example of overriding LESS via core.pager”
  1. Documentation: improve the example of overriding LESS via core.pagerPatrick Palka, Oct 28, 2012
  2. Jeff KingOct 29, 2012

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.