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

Re: [PATCH] doc: add more examples of overriding LESS in core.pager

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 5, 2026, 23:59 UTC
Message-ID
<asQ56mv3VbiYmtwk@fruit.crustytoothpaste.net>
In-Reply-To
<20261002234203.4064847-1-tmz@pobox.com>
On 2026-10-02 at 23:41:52, Todd Zullinger wrote:
Show 9 quoted lines
> +Another way to deactivate an option is prefixing `core.pager` with
> +`LESS="RX"` to remove `-F` or `LESS=""` to override all options.
> +This is useful if the `core.pager` command eventually runs `less` or
> +a command which respects the `LESS` environment variable but lacks
> +command line options to override `LESS` options.
> ++
> +One can specifically activate some flags for particular commands: for
> +example, setting `pager.blame` to `less -S` enables line truncation
> +only for `git blame`.

Sure, this seems like an improvement. I'm not very particular on the wording, but it's good that folks have the information that they need.

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Previous: Todd ZullingerNext: Junio C Hamano
Message 5 of 7 in “pager: consider revisiting automatic LESS=FRX with custom core.pager”
  1. Francisco BoniSep 19, 2026
  2. brian m. carlsonSep 19, 2026
  3. Todd ZullingerSep 19, 2026
  4. doc: add more examples of overriding LESS in core.pagerTodd Zullinger, Oct 2, 2026
  5. brian m. carlsonOct 5, 2026
  6. Junio C HamanoOct 6, 2026
  7. Francisco BoniSep 19, 2026

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.