git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
CKChristof Krüger <git@christof-krueger.de>
Date
Jun 21, 2011, 19:16 UTC
Message-ID
<1308683807-26069-1-git-send-email-git@christof-krueger.de>

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(-)
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
Message 1 of 1 in “git-completion: added suggestions for color.grep”
  1. git-completion: added suggestions for color.grepChristof Krüger, Jun 21, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.