diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-02-09 12:01:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-09 19:24:51 +0100 |
commit | caf2de33905b74a52a0df26214ee9ab555b32bd9 (patch) | |
tree | 11278531c32f517e9fba8466afd04c11dd62d6ff /contrib/completion/git-completion.bash | |
parent | completion: use __gitcomp_builtin in _git_gc (diff) | |
download | git-caf2de33905b74a52a0df26214ee9ab555b32bd9.tar.xz git-caf2de33905b74a52a0df26214ee9ab555b32bd9.zip |
completion: use __gitcomp_builtin in _git_grep
The new completable options are:
--after-context=
--before-context=
--color
--context
--exclude-standard
--quiet
--recurse-submodules
--textconv
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | contrib/completion/git-completion.bash | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 79e9f69d52..60d27253ee 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1565,21 +1565,7 @@ _git_grep () case "$cur" in --*) - __gitcomp " - --cached - --text --ignore-case --word-regexp --invert-match - --full-name --line-number - --extended-regexp --basic-regexp --fixed-strings - --perl-regexp - --threads - --files-with-matches --name-only - --files-without-match - --max-depth - --count - --and --or --not --all-match - --break --heading --show-function --function-context - --untracked --no-index - " + __gitcomp_builtin grep return ;; esac |