Re: Adding color to git diff output.

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

 



On 4/12/06, Linus Torvalds <torvalds@xxxxxxxx> wrote:
> +if [ "$GIT_DIFF_PAGER" ] && tty -s <&1; then

Maybe use "-t" here? I have at least one system which has no tty installed.
Like this:

  if [ -n "$GIT_DIFF_PAGER" -a -t ]; then
...
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]