status: show branchname with a configurable color
[gitweb.git] / t / t7508-status.sh
index 4de3e27950ca34ffe3f5e72052108ce9d74b0227..ba36d72661c59611583a8e74059ad2db1d353760 100755 (executable)
@@ -381,12 +381,13 @@ test_expect_success 'status --porcelain ignores relative paths setting' '
 
 test_expect_success 'setup unique colors' '
 
-       git config status.color.untracked blue
+       git config status.color.untracked blue &&
+       git config status.color.branch green
 
 '
 
 cat >expect <<\EOF
-# On branch master
+# On branch <GREEN>master<RESET>
 # Changes to be committed:
 #   (use "git reset HEAD <file>..." to unstage)
 #