Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _git: fix typo in _git-grep
- X-seq: zsh-workers 32503
- From: Takeshi Banse <takebi@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _git: fix typo in _git-grep
- Date: Fri, 21 Mar 2014 11:15:58 +0900
- Cc: Takeshi Banse <takebi@xxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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@xxxxxxxxx>
---
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author