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

[PATCH 4/9] add missing long option to 'git grep' bash competion

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 8, 2009, 08:56 UTC
Message-ID
<9f50533b0908080156h23415740lb94cbd9f2c6a165d@mail.gmail.com>

according to the 'git-grep' man page, the following long options are missing from the 'git grep' bash completion : --null --color --no-color

Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 contrib/completion/git-completion.bash |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index f56733b..a4e78d5 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1057,7 +1057,9 @@ _git_grep ()
 			--extended-regexp --basic-regexp --fixed-strings
 			--files-with-matches --name-only
 			--files-without-match
+			--null
 			--count
+			--color --no-color
 			--and --or --not --all-match
 			"
 		return
-- 
1.6.4
Next: Junio C Hamano
Message 1 of 3 in “add missing long option to 'git grep' bash competion”
  1. 4/9 add missing long option to 'git grep' bash competionEmmanuel Trillaud, Aug 8, 2009
  2. Junio C HamanoAug 8, 2009
  3. Emmanuel TrillaudAug 8, 2009

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.