]> git.ipfire.org Git - thirdparty/git.git/commit - color.c
"color.diff = true" is not "always" anymore.
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2007 22:30:28 +0000 (14:30 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Nov 2007 01:33:17 +0000 (17:33 -0800)
commit57f2b8424ade734550731392e90b8f738d478e02
tree7062a3004200e9d7982e45db90998031542f2755
parentd25430c5f88c7e7b4ce24c1b08e409f4345c4eb9
"color.diff = true" is not "always" anymore.

Too many people got burned by setting color.diff and color.status to
true when they really should have set it to "auto".

This makes only "always" to do the unconditional colorization, and
change the meaning of "true" to the same as "auto": colorize only when
we are talking to a terminal.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
color.c