git-svn: get color config from --get-colorbool
authorJeff King <peff@peff.net>
Tue, 11 Dec 2007 06:28:42 +0000 (01:28 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Dec 2007 08:42:07 +0000 (00:42 -0800)
commitcd459e3ffa1b85f3a33c52967b1a7dff43bda29e
treeadd6d684c9d1ca973b17efe843651b225865796c
parent6e9af863ee76423ec8416ad16140ef5f810783bf
git-svn: get color config from --get-colorbool

git-config recently learned a --get-colorbool option. By
using it, we will get the same color=auto behavior that
other git commands have.

Specifically, this fixes the case where "color.diff = true"
meant "always" in git-svn, but "auto" in other programs.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl