Code

Add a notice that only certain functions can print color escape codes
authorJohannes Sixt <j6t@kdbg.org>
Fri, 27 Nov 2009 07:42:25 +0000 (08:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Nov 2009 08:28:40 +0000 (00:28 -0800)
commite7821d73bd0256bfc15c48945beded063e17c1b6
treec06a47f92c7c3b62bcd1ea6d2331f60d3fbfe782
parentc8e1c3d3e8ed326fe9e8ba5616db2e81a41fcc16
Add a notice that only certain functions can print color escape codes

We emulate color escape codes on Windows by overriding printf, fprintf,
and fputs. Warn developers that these are the only functions that can be
used to print them.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
color.h