From: Jeff King Date: Thu, 20 Nov 2014 15:15:31 +0000 (-0500) Subject: docs: describe ANSI 256-color mode X-Git-Tag: v2.2.2~18^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0edad17d6728df055c3b92bf89d5329f0afdcefd;p=thirdparty%2Fgit.git docs: describe ANSI 256-color mode Our color specifications have supported the 256-color ANSI extension for years, but we never documented it. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/Documentation/config.txt b/Documentation/config.txt index 6ae4d90708..9678ab6aa8 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -825,6 +825,10 @@ accepted are `normal`, `black`, `red`, `green`, `yellow`, `blue`, `blink` and `reverse`. The first color given is the foreground; the second is the background. The position of the attribute, if any, doesn't matter. ++ +Colors (foreground and background) may also be given as numbers between +0 and 255; these use ANSI 256-color mode (but note that not all +terminals may support this). color.diff:: Whether to use ANSI escape sequences to add color to patches.