summaryrefslogtreecommitdiff
path: root/contrib/examples
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2018-05-03 19:15:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-04 14:35:38 +0900
commit7213c288187bd9ef1e32e4f86c20c55436f1ae90 (patch)
tree8f16c0797da9891af7377fcce5fb9b24bc985a38 /contrib/examples
parentGit 2.17 (diff)
downloadtgif-7213c288187bd9ef1e32e4f86c20c55436f1ae90.tar.xz
git: add -P as a short option for --no-pager
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 more easily accessible. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples')
0 files changed, 0 insertions, 0 deletions