git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Missing slot "unmerged"
@ 2015-03-10 12:44 Mladen B.
  2015-03-10 16:11 ` [PATCH] config,completion: add color.status.unmerged Michael J Gruber
  0 siblings, 1 reply; 2+ messages in thread
From: Mladen B. @ 2015-03-10 12:44 UTC (permalink / raw)
  To: git

Hi,

I noticed there is a missing <slot> named "unmerged" inside the
"color.status.<slot>" on the documentation page:
http://git-scm.com/docs/git-config

This color is used when "git status" command is performed during the
conflict in the rebase process.

M.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] config,completion: add color.status.unmerged
  2015-03-10 12:44 Missing slot "unmerged" Mladen B.
@ 2015-03-10 16:11 ` Michael J Gruber
  0 siblings, 0 replies; 2+ messages in thread
From: Michael J Gruber @ 2015-03-10 16:11 UTC (permalink / raw)
  To: git; +Cc: Mladen B.

Reported-by: "Mladen B." <mladen074@gmail.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 Documentation/config.txt               | 6 ++++--
 contrib/completion/git-completion.bash | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index a158e7f..bc22eee 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -958,9 +958,11 @@ color.status.<slot>::
 	`added` or `updated` (files which are added but not committed),
 	`changed` (files which are changed but not added in the index),
 	`untracked` (files which are not tracked by Git),
-	`branch` (the current branch), or
+	`branch` (the current branch),
 	`nobranch` (the color the 'no branch' warning is shown in, defaulting
-	to red). The values of these variables may be specified as in
+	to red), or
+	`unmerged` (files which have unmerged changes).
+	The values of these variables may be specified as in
 	color.branch.<slot>.
 
 color.ui::
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index c21190d..e310f31 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2014,6 +2014,7 @@ _git_config ()
 		color.status.changed
 		color.status.header
 		color.status.nobranch
+		color.status.unmerged
 		color.status.untracked
 		color.status.updated
 		color.ui
-- 
2.3.2.346.gb6960c9

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-10 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 12:44 Missing slot "unmerged" Mladen B.
2015-03-10 16:11 ` [PATCH] config,completion: add color.status.unmerged Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).