Re: [BUG] git help -a should no use page when in pipe

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

 



许铖 <thexuc@xxxxxxxxx> writes:

> Since git 2.20.0, invoking `git help -a` will cause git using page (e.g. less)
> to display help message.
> ...
> I would suggest `git help -a` only invokes page when stdout is a tty.


It already does so for me.  "GIT_PAGER=uc git help -a | cat" where
"uc" is a custom "pager" that is "tr '[a-z]' '[A-Z]'" does not show
things in ucase, but without piping to cat, the output is in ucase
as expected.  Perhaps there is something different between what we
are doing.

FWIW, I am not on Windows or on a Mac.



[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