contrib/completion: --line-number to git grep
[gitweb.git] / contrib / completion / git-completion.bash
index 1b589fadbb5dd94827cf1565bce232d0f3a3c42a..3dc9cbe9f9d4a22db004047bf00165c4834a9b3b 100755 (executable)
@@ -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
@@ -1577,6 +1577,8 @@ __git_log_common_options="
        --max-count=
        --max-age= --since= --after=
        --min-age= --until= --before=
+       --min-parents= --max-parents=
+       --no-min-parents --no-max-parents
 "
 # Options that go well for log and gitk (not shortlog)
 __git_log_gitk_options="