Re: [PATCH] git: add -N as a short option for --no-pager
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Apr 25, 2018, 19:30 UTC
- Message-ID
- <2411e97e-bda2-869e-956e-12871761c4cc@kdbg.org>
- In-Reply-To
- <nycvar.QRO.7.76.6.1804250938370.4978@tvgsbejvaqbjf.bet>
Am 25.04.2018 um 09:41 schrieb Johannes Schindelin:
Show 22 quoted lines
> Hi Hannes, > > On Wed, 25 Apr 2018, Johannes Sixt wrote: > >> Am 25.04.2018 um 02:05 schrieb Junio C Hamano: >>> Johannes Sixt <j6t@kdbg.org> writes: >>>> It is not uncommon to request that the output remains visible in >>>> the terminal. > > I ran `git log` and then hit `q`, and the latest screen contents were > still visible in all of these scenarios: > > - in a Linux VM via SSH client > > - in Git Bash on Windows > > - in Git CMD on Windows > > Granted, this is only the latest screen, but that is usually good enough > here. > > Is anything different happening in your setups?
I have LESS=RS in my environment, because I do want that the alternate screen is used by the pager. Nevertheless, occasionally I want git's output to remain visible.
-- Hannes