colored diff: diff.color = auto fix
authorJunio C Hamano <junkio@cox.net>
Sat, 8 Jul 2006 00:48:02 +0000 (17:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 8 Jul 2006 00:48:02 +0000 (17:48 -0700)
commita0c2089c1d48dc9969822126170d35c6e5aa141f
tree13386300f39d2409ceeadc3a42ba2ee9baf4a35c
parent6bdca8905764affcab0c92a60a6a319080d76652
colored diff: diff.color = auto fix

Even if the standard output is connected to a tty, do not
colorize the diff if we are talking to a dumb terminal when
diff.color configuration variable is set to "auto".

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c