parse_color: support 24-bit RGB values
commit17a4be26060b00a867cbe54ee906fe03813470ec
authorJeff King <peff@peff.net>
Thu, 20 Nov 2014 15:25:39 +0000 (20 10:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Nov 2014 20:42:49 +0000 (20 12:42 -0800)
tree79257f8f0b06bd68a3a2783d9e44562dc2b96119
parent695d95df19b74485be62aba0f978044ff1215ea0
parse_color: support 24-bit RGB values

Some terminals (like XTerm) allow full 24-bit RGB color
specifications using an extension to the regular ANSI color
scheme. Let's allow users to specify hex RGB colors,
enabling the all-important feature of hot pink ref
decorations:

  git log --format="%h%C(#ff69b4)%d%C(reset) %s"

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
color.c
color.h
t/t4026-color.sh