Code

status: show branchname with a configurable color
authorAleksi Aalto <aga@iki.fi>
Wed, 17 Nov 2010 23:40:05 +0000 (01:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Nov 2010 00:31:34 +0000 (16:31 -0800)
commit1d282327d7354dd3a1caefa4af06562aa816710d
tree8779a64c22934c6be78c08705576272b5276bfdf
parent7d43de925b2771d295d8fc4341b7bd544e2a74fa
status: show branchname with a configurable color

You can tell "git status" to paint the name of the current branch in its
output (the line that says "On branch ...") by setting the configuration
variable color.status.branch; it is by default turned off.

Signed-off-by: Aleksi Aalto <aga@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin/commit.c
t/t7508-status.sh
wt-status.c
wt-status.h