Re: why does git set X in LESS env var?
- From
- Dragan Simic <dsimic@manjaro.org>
- Date
- Oct 13, 2023, 20:12 UTC
- Message-ID
- <a831af51b6fb46b5d6fcd9768a7fb52d@manjaro.org>
- In-Reply-To
- <xmqqr0lzhkzk.fsf@gitster.g>
On 2023-10-12 18:19, Junio C Hamano wrote:
Show 8 quoted lines
> Dragan Simic <dsimic@manjaro.org> writes: > >> Please note that dropping "-X" and leaving "-F" would actually >> introduce the inconsistency that I already mentioned. To reiterate, >> short outputs would then remain displayed on screen, while long >> outputs would disappear after exiting less(1). > > Good point.
I've been thinking about this, and a rather elegant, backward-compatible solution is possible, but it requires some improvements to be made to less(1) first. I'll reach out to the author of less(1) and propose that new feature, and I'll let you know his opinion about it.