1
0
mirror of https://github.com/git/git.git synced 2024-09-29 20:13:27 +02:00

Merge branch 'js/color-on-windows-comment'

For a long time, we carried an in-code comment that said our
colored output would work only when we use fprintf/fputs on
Windows, which no longer is the case for the past few years.

* js/color-on-windows-comment:
  color.h: remove obsolete comment about limitations on Windows
This commit is contained in:
Junio C Hamano 2016-07-11 10:31:09 -07:00
commit 627c9f2487

@ -21,11 +21,6 @@ struct strbuf;
*/ */
#define COLOR_MAXLEN 75 #define COLOR_MAXLEN 75
/*
* IMPORTANT: Due to the way these color codes are emulated on Windows,
* write them only using printf(), fprintf(), and fputs(). In particular,
* do not use puts() or write().
*/
#define GIT_COLOR_NORMAL "" #define GIT_COLOR_NORMAL ""
#define GIT_COLOR_RESET "\033[m" #define GIT_COLOR_RESET "\033[m"
#define GIT_COLOR_BOLD "\033[1m" #define GIT_COLOR_BOLD "\033[1m"