summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Stephen Kent <smkent@smkent.net>2017-04-21 22:42:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-28 11:50:52 +0900
commit93fdf301de0daa57fd6a694ad4637ec7a3a1041c (patch)
tree0dd9a364d094cbfb01a7edff145169fc7c41d3d3 /contrib
parentstatus: fix missing newline when comment chars are disabled (diff)
downloadtgif-93fdf301de0daa57fd6a694ad4637ec7a3a1041c.tar.xz
status: add color config slots for branch info in "--short --branch"
Add color config slots to be used in the status short-format when displaying local and remote tracking branch information. [jc: rebased on top of Peff's fix to 'git status' and tweaked the test to check both local and remote-tracking branch output] Signed-off-by: Stephen Kent <smkent@smkent.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index b617019075..72c6d58965 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2378,7 +2378,9 @@ _git_config ()
color.status.added
color.status.changed
color.status.header
+ color.status.localBranch
color.status.nobranch
+ color.status.remoteBranch
color.status.unmerged
color.status.untracked
color.status.updated