From: Johannes Sixt Date: Wed, 25 Apr 2018 19:30:05 GMT Subject: Re: [PATCH] git: add -N as a short option for --no-pager Message-ID: <2411e97e-bda2-869e-956e-12871761c4cc@kdbg.org> In-Reply-To: Am 25.04.2018 um 09:41 schrieb Johannes Schindelin: > Hi Hannes, > > On Wed, 25 Apr 2018, Johannes Sixt wrote: > >> Am 25.04.2018 um 02:05 schrieb Junio C Hamano: >>> Johannes Sixt 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