Re: [PATCH v2] git: add -P as a short option for --no-pager
From: Johannes Schindelin <hidden>
Date: 2018-12-21 12:04:35
From: Johannes Schindelin <hidden>
Date: 2018-12-21 12:04:35
Hi Hannes, On Thu, 3 May 2018, Johannes Sixt wrote:
It is possible to configure 'less', the pager, to use an alternate screen to show the content, for example, by setting LESS=RS in the environment. When it is closed in this configuration, it switches back to the original screen, and all content is gone. It is not uncommon to request that the output remains visible in the terminal. For this, the option --no-pager can be used. But it is a bit cumbersome to type, even when command completion is available. Provide a short option, -P, to make the option easier accessible. Signed-off-by: Johannes Sixt <redacted> --- Given the positive feedback, I resurrect the patch. Changes since v1: - Use -P instead of -N - Commit message changed as proposed by Kaartic
Just a quick note, as mine was a vocal voice against this patch: I find myself using this more and more. So I was wrong to object, and I apologize. Thank you, Dscho