git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Christof Krüger" <git@christof-krueger.de>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org, "Christof Krüger" <git@christof-krueger.de>
Subject: [PATCH] git-completion: added suggestions for color.grep
Date: Tue, 21 Jun 2011 21:16:47 +0200	[thread overview]
Message-ID: <1308683807-26069-1-git-send-email-git@christof-krueger.de> (raw)

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

                 reply	other threads:[~2011-06-21 19:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308683807-26069-1-git-send-email-git@christof-krueger.de \
    --to=git@christof-krueger.de \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).