diff options
author | Michał Kiedrowicz <michal.kiedrowicz@gmail.com> | 2011-05-05 02:00:18 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-05 19:34:13 +0400 |
commit | 5a69eaf5541b8449ede74f148d395abd0acbf20f (patch) | |
tree | 9fe18c243bf0e7e4246c1735e2c8621ef93352be | |
parent | d2355d76150316104b89443065e62a71342c36be (diff) |
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>
-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 |