X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=6a8b1e3a7d06218903ce5614f51c4e7cbba73b17;hb=0dbe6592ccbd1a394a69a52074e3729d546fe952;hp=15d6711d46754e9659561b4372b46ec3c6654d6b;hpb=b052781fef2f978ba9cc55d6de942bb779bd54ac;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::