git-commit: color status output when color.ui is set
commit3f4b609f5f3146a34eb72e82ab55714328e0bd1a
authorMarkus Heidelberg <markus.heidelberg@web.de>
Thu, 8 Jan 2009 18:53:01 +0000 (8 19:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Jan 2009 01:30:43 +0000 (8 17:30 -0800)
tree1548277a0ae9e66bad89db04fd45e9d1a603561a
parent152d70f7287c54135aa93990b462e2d34a39f500
git-commit: color status output when color.ui is set

When using "git commit" and there was nothing to commit (the editor
wasn't launched), the status output wasn't colored, even though color.ui
was set. Only when setting color.status it worked.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c