Thread (7 messages) 7 messages, 5 authors, 2018-12-21

Re: [PATCH v2] git: add -P as a short option for --no-pager

From: Eric Sunshine <hidden>
Date: 2018-05-03 20:06:11

On Thu, May 3, 2018 at 1:15 PM, Johannes Sixt [off-list ref] 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.
s/easier accessible/easier to access/
--- or ---
s/easier accessible/more easily accessible/
--- or ---
s/easier accessible/more accessible/

The patch itself looks fine.
Signed-off-by: Johannes Sixt <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help