threads / patch / 27677

patchgit-completion: added suggestions for color.grep

Subject: [PATCH] git-completion: added suggestions for color.grep

## tl;dr

One message between Jun 21, 2011 and Jun 21, 2011. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christof Krüger· Jun 21, 2011, 19:16 UTC · lore

Show the possible settings "always", "never" or "auto" also for color.grep in addition to the the other color.* settings.

Signed-off-by: Christof Krüger <git@christof-krueger.de>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −1
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index b36290f..4aeeee6 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1884,7 +1884,7 @@ _git_config ()
 		__gitcomp "$__git_merge_strategies"
 		return
 		;;
-	color.branch|color.diff|color.interactive|\
+	color.branch|color.diff|color.grep|color.interactive|\
 	color.showbranch|color.status|color.ui)
 		__gitcomp "always never auto"
 		return
-- 
1.7.6.rc2

← back to recent threads