aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-28 11:25:55 -0700
committerJunio C Hamano <gitster@pobox.com>2016-07-28 11:25:55 -0700
commit52d637c422840c410eb179b5d8960db5863cdea7 (patch)
tree9547bc13502ab113f1ad32cf4055a457ac04e054
parentMerge branch 'mm/doc-tt' into maint (diff)
parentcolor.h: remove obsolete comment about limitations on Windows (diff)
downloadgit-52d637c422840c410eb179b5d8960db5863cdea7.tar.gz
git-52d637c422840c410eb179b5d8960db5863cdea7.zip
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
-rw-r--r--color.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/color.h b/color.h
index e155d13f78..b9ead166b9 100644
--- a/color.h
+++ b/color.h
@@ -18,11 +18,6 @@ struct strbuf;
*/
#define COLOR_MAXLEN 70
-/*
- * 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_RESET "\033[m"
#define GIT_COLOR_BOLD "\033[1m"