From: Michał Kiedrowicz Date: Wed, 4 May 2011 22:00:18 +0000 (+0200) Subject: contrib/completion: --line-number to git grep X-Git-Tag: v1.7.6-rc0~18^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5a69eaf5541b8449ede74f148d395abd0acbf20f;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 840ae3876..3dc9cbe9f 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