Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
docs: describe ANSI 256-color mode
author
Jeff King
<peff@peff.net>
Thu, 20 Nov 2014 15:15:31 +0000
(10:15 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 20 Nov 2014 18:13:25 +0000
(10:13 -0800)
Our color specifications have supported the 256-color ANSI
extension for years, but we never documented it.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7fa1365
)
diff --git
a/Documentation/config.txt
b/Documentation/config.txt
index 6ae4d907088348c35eed1698e0428326c0e8788e..9678ab6aa8ee846dabca72bb413820584aaabfe2 100644
(file)
--- 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.