X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=6a8b1e3a7d06218903ce5614f51c4e7cbba73b17;hb=1c719ffc3d1c4e03313d5cf5c4d32ec763697857;hp=15d6711d46754e9659561b4372b46ec3c6654d6b;hpb=7fc1495b1800f5207b634140ed66f7037e7f4bff;p=git.git diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 15d6711d4..6a8b1e3a7 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -79,6 +79,9 @@ OPTIONS --max-depth :: For each given on command line, descend at most levels of directories. A negative value means no limit. + This option is ignored if contains active wildcards. + In other words if "a*" matches a directory named "a*", + "*" is matched literally so --max-depth is still effective. -w:: --word-regexp::