about summary refs log tree commit homepage
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
parent1032eb9c2aa34b4a908fb9d2d1cfe9680e0c34ce (diff)
parent3d0a83382f26c5385ffcfa3fb0d9b7d69d998647 (diff)
downloadgit-svn-52d637c422840c410eb179b5d8960db5863cdea7.tar.gz
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"