grep: Add --max-depth option.
[gitweb.git] / contrib / completion / git-completion.bash
index 9c488646d04f9fa08d9b2f2445b2a83d9bc4de40..fb05c4884c67158a160cb77a5be3e42767c0f0db 100755 (executable)
@@ -1036,6 +1036,7 @@ _git_grep ()
                        --extended-regexp --basic-regexp --fixed-strings
                        --files-with-matches --name-only
                        --files-without-match
+                       --max-depth
                        --count
                        --and --or --not --all-match
                        "
@@ -1114,7 +1115,7 @@ _git_ls_tree ()
 __git_log_common_options="
        --not --all
        --branches --tags --remotes
-       --first-parent --no-merges
+       --first-parent --merges --no-merges
        --max-count=
        --max-age= --since= --after=
        --min-age= --until= --before=