diff options
author | Michał Kiedrowicz <michal.kiedrowicz@gmail.com> | 2011-05-05 00:00:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-05 08:34:13 -0700 |
commit | 5a69eaf5541b8449ede74f148d395abd0acbf20f (patch) | |
tree | 9fe18c243bf0e7e4246c1735e2c8621ef93352be /contrib/completion | |
parent | Documentation: Add --line-number to git-grep synopsis (diff) | |
download | tgif-5a69eaf5541b8449ede74f148d395abd0acbf20f.tar.xz |
contrib/completion: --line-number to git grep
The "-n" option of "git grep" gained a synonym "--line-number" with
commit 7d6cb10b ("grep: Add the option '--line-number'", 2011-03-28).
Teach bash-completion about it.
Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rwxr-xr-x | 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 840ae38760..3dc9cbe9f9 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1485,7 +1485,7 @@ _git_grep () __gitcomp " --cached --text --ignore-case --word-regexp --invert-match - --full-name + --full-name --line-number --extended-regexp --basic-regexp --fixed-strings --files-with-matches --name-only --files-without-match |