Skip to content

Commit 52d637c

Browse files
committed
Merge branch 'js/color-on-windows-comment' into maint
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
2 parents 1032eb9 + 3d0a833 commit 52d637c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

color.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ struct strbuf;
1818
*/
1919
#define COLOR_MAXLEN 70
2020

21-
/*
22-
* IMPORTANT: Due to the way these color codes are emulated on Windows,
23-
* write them only using printf(), fprintf(), and fputs(). In particular,
24-
* do not use puts() or write().
25-
*/
2621
#define GIT_COLOR_NORMAL ""
2722
#define GIT_COLOR_RESET "\033[m"
2823
#define GIT_COLOR_BOLD "\033[1m"

0 commit comments

Comments
 (0)