zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _git: fix typo in _git-grep
@ 2014-03-21  2:15 Takeshi Banse
  0 siblings, 0 replies; only message in thread
From: Takeshi Banse @ 2014-03-21  2:15 UTC (permalink / raw)
  To: zsh-workers; +Cc: Takeshi Banse

This patch fixes the issue below:

----
% git grep <Tab>
_arguments:comparguments:312: invalid argument: (--textconv --no-textconv}--no-textconv[do not honor textconv filter settings]
----

Signed-off-by: Takeshi Banse <takebi@laafc.net>
---
 Completion/Unix/Command/_git | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index b082bb0..4982f30 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -925,7 +925,7 @@ _git-grep () {
     '--untracked[search in untracked files]' \
     '(-a --text)'{-a,--text}'[process binary files as if they were text]' \
     '(--textconv --no-textconv)--textconv[honor textconv filter settings]' \
-    '(--textconv --no-textconv}--no-textconv[do not honor textconv filter settings]' \
+    '(--textconv --no-textconv)--no-textconv[do not honor textconv filter settings]' \
     '(-i --ignore-case)'{-i,--ignore-case}'[ignore case when matching]' \
     '-I[do not match pattern in binary files]' \
     '--max-depth=[descend at most given levels of directories]: :__git_guard_number depth' \
-- 
1.9.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-21  2:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21  2:15 [PATCH] _git: fix typo in _git-grep Takeshi Banse

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).