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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <j6t@xxxxxxxx>
> ---
>  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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux