Re: [PATCH] doc: add more examples of overriding LESS in core.pager
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 13 quoted lines
> On 2026-10-02 at 23:41:52, Todd Zullinger wrote:
>> +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.
Thanks, both, for writing and reviewing.
Let me mark the topic for 'next'.