@matheusbsbs / matheus-bagliano / commits / 5a69eaf554
Fork 0

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>

Michał Kiedrowicz committed May 5, 2011 at 00:00 UTC 5a69eaf5541b8449ede74f148d395abd0acbf20f
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -1485,7 +1485,7 @@ _git_grep ()
1485 __gitcomp "
1486 --cached
1487 --text --ignore-case --word-regexp --invert-match
1488 - --full-name
1488 + --full-name --line-number
1489 --extended-regexp --basic-regexp --fixed-strings
1490 --files-with-matches --name-only
1491 --files-without-match