Re: Adding color to git diff output.
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 12, 2006, 15:46 UTC
- Message-ID
- <Pine.LNX.4.64.0604120846000.14565@g5.osdl.org>
- In-Reply-To
- <81b0412b0604120038q2e4aef8cn55ba4cfa68e18b34@mail.gmail.com>
On Wed, 12 Apr 2006, Alex Riesen wrote:
Show 5 quoted lines
> > 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
I assume you mean "-t 1". It needs the FD number. But yes.
Linus