Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-11 09:15:12 +0400
committerJunio C Hamano <gitster@pobox.com>2009-08-11 09:15:12 +0400
commit67f272c2f21a3d5a372b113b91836455d45257a7 (patch)
tree3375c609596cb9086aef870b92fe71c86e235134 /Documentation
parent08ac69685a5b6bea45df1fd62ea1d9b7c0258d0b (diff)
parenta91f453f641ca9966a438bdd3896656b00423407 (diff)
Merge branch 'mk/grep-max-depth'
* mk/grep-max-depth: grep: Add --max-depth option.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-grep.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index b753c9d76f..8c700200f5 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -17,6 +17,7 @@ SYNOPSIS
[-l | --files-with-matches] [-L | --files-without-match]
[-z | --null]
[-c | --count] [--all-match]
+ [--max-depth <depth>]
[--color | --no-color]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern>
@@ -47,6 +48,10 @@ OPTIONS
-I::
Don't match the pattern in binary files.
+--max-depth <depth>::
+ For each pathspec given on command line, descend at most <depth>
+ levels of directories. A negative value means no limit.
+
-w::
--word-regexp::
Match the pattern only at word boundary (either begin at the