Code

git-config --get-color: get configured color
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Nov 2007 06:41:05 +0000 (22:41 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Nov 2007 01:33:17 +0000 (17:33 -0800)
commit9ce0352258a421b654b5db145a42d07cbaef416c
treeed7112047dfac166f212d03305cc2ee4ef5da24a
parent57f2b8424ade734550731392e90b8f738d478e02
git-config --get-color: get configured color

This new option allows scripts to grab color setting from the user
configuration, translated to ANSI color escape sequence.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
builtin-config.c