grep: optionally recurse into submodules
[gitweb.git] / Documentation / git-grep.txt
index 0ecea6e4912f635e2825e8c02a14aef191cd91f1..17aa1ba702590d61090d793bcda78e1a86e5c4b8 100644 (file)
@@ -26,6 +26,7 @@ SYNOPSIS
           [--threads <num>]
           [-f <file>] [-e] <pattern>
           [--and|--or|--not|(|)|-e <pattern>...]
+          [--recurse-submodules]
           [ [--[no-]exclude-standard] [--cached | --no-index | --untracked] | <tree>...]
           [--] [<pathspec>...]
 
@@ -88,6 +89,10 @@ OPTIONS
        mechanism.  Only useful when searching files in the current directory
        with `--no-index`.
 
+--recurse-submodules::
+       Recursively search in each submodule that has been initialized and
+       checked out in the repository.
+
 -a::
 --text::
        Process binary files as if they were text.