diff options
author | Junio C Hamano <junio@kernel.org> | 2010-03-07 22:25:17 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-03-07 22:25:17 +0000 |
commit | 636c8b28164f489af6c6c6f328c2caad6aa3364e (patch) | |
tree | d5fc029cfb6350cdef7f814c27ab5c21c8abda7a /git-grep.html | |
parent | 118896be31402ffc2d506ee4172f0a69b28e26e5 (diff) | |
download | git-htmldocs-636c8b28164f489af6c6c6f328c2caad6aa3364e.tar.gz |
Autogenerated HTML docs for v1.7.0.2-157-gb7e7f
Diffstat (limited to 'git-grep.html')
-rw-r--r-- | git-grep.html | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/git-grep.html b/git-grep.html index 624aaf6b7..261d4bd62 100644 --- a/git-grep.html +++ b/git-grep.html @@ -321,8 +321,7 @@ git-grep(1) Manual Page <h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git grep</em> [--cached]
- [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
+<div class="content"><em>git grep</em> [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
[-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp]
[-F | --fixed-strings] [-n]
@@ -333,7 +332,8 @@ git-grep(1) Manual Page [--color[=<when>] | --no-color]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e] <pattern>
- [--and|--or|--not|(|)|-e <pattern>…] [<tree>…]
+ [--and|--or|--not|(|)|-e <pattern>…]
+ [--cached | --no-index | <tree>…]
[--] [<pathspec>…]</div></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
@@ -349,8 +349,16 @@ registered in the index file, or blobs in given tree objects.</p></div> </dt>
<dd>
<p>
- Instead of searching in the working tree files, check
- the blobs registered in the index file.
+ Instead of searching tracked files in the working tree, search
+ blobs registered in the index file.
+</p>
+</dd>
+<dt>
+--no-index
+</dt>
+<dd>
+<p>
+ Search files in the current directory, not just those tracked by git.
</p>
</dd>
<dt>
@@ -500,8 +508,8 @@ registered in the index file, or blobs in given tree objects.</p></div> <p>
Instead of showing every matched line, show only the
names of files that contain (or do not contain) matches.
- For better compatibility with <em>git diff</em>, --name-only is a
- synonym for --files-with-matches.
+ For better compatibility with <em>git diff</em>, <tt>--name-only</tt> is a
+ synonym for <tt>--files-with-matches</tt>.
</p>
</dd>
<dt>
@@ -563,7 +571,7 @@ registered in the index file, or blobs in given tree objects.</p></div> </dt>
<dd>
<p>
- A shortcut for specifying -C<num>.
+ A shortcut for specifying <tt>-C<num></tt>.
</p>
</dd>
<dt>
@@ -595,7 +603,7 @@ registered in the index file, or blobs in given tree objects.</p></div> <dd>
<p>
The next parameter is the pattern. This option has to be
- used for patterns starting with - and should be used in
+ used for patterns starting with <tt>-</tt> and should be used in
scripts passing user input to grep. Multiple patterns are
combined by <em>or</em>.
</p>
@@ -643,11 +651,12 @@ registered in the index file, or blobs in given tree objects.</p></div> </p>
</dd>
<dt>
-<tt><tree>…</tt>
+<tree>…
</dt>
<dd>
<p>
- Search blobs in the trees for specified patterns.
+ Instead of searching tracked files in the working tree, search
+ blobs in the given trees.
</p>
</dd>
<dt>
@@ -670,7 +679,7 @@ registered in the index file, or blobs in given tree objects.</p></div> </dd>
</dl></div>
</div>
-<h2 id="_example">Example</h2>
+<h2 id="_examples">Examples</h2>
<div class="sectionbody">
<div class="vlist"><dl>
<dt>
@@ -717,7 +726,7 @@ revamped by Junio C Hamano.</p></div> </div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-03-03 05:12:41 UTC
+Last updated 2010-03-07 22:24:59 UTC
</div>
</div>
</body>
|