Autogenerated HTML docs for v1.3.0-rc3-g5910
[git.git] / git-grep.html
index a4c233f..11f2f7e 100644 (file)
@@ -3,7 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
 <head>\r
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 7.0.1" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
 <style type="text/css">\r
 /* Debug borders */\r
 p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
@@ -266,13 +266,13 @@ git-grep(1) Manual Page
 <h2>NAME</h2>\r
 <div class="sectionbody">\r
 <p>git-grep -\r
-   print lines matching a pattern\r
+   Print lines matching a pattern\r
 </p>\r
 </div>\r
 </div>\r
 <h2>SYNOPSIS</h2>\r
 <div class="sectionbody">\r
-<p><em>git-grep</em> &lt;option&gt;&#8230; &lt;pattern&gt; &lt;path&gt;&#8230;</p>\r
+<p><em>git-grep</em> [&lt;option&gt;&#8230;] [-e] &lt;pattern&gt; [--] [&lt;path&gt;&#8230;]</p>\r
 </div>\r
 <h2>DESCRIPTION</h2>\r
 <div class="sectionbody">\r
@@ -283,21 +283,35 @@ containing a match to the given pattern.</p>
 <div class="sectionbody">\r
 <dl>\r
 <dt>\r
+<tt>--</tt>\r
+</dt>\r
+<dd>\r
+<p>\r
+        Signals the end of options; the rest of the parameters\r
+        are &lt;path&gt; limiters.\r
+</p>\r
+</dd>\r
+<dt>\r
 &lt;option&gt;&#8230;\r
 </dt>\r
 <dd>\r
 <p>\r
         Either an option to pass to <tt>grep</tt> or <tt>git-ls-files</tt>.\r
-        Some <tt>grep</tt> options, such as <tt>-C</tt> and <tt>-m</tt>, that take\r
-        parameters are known to <tt>git-grep</tt>.\r
 </p>\r
+<p>The following are the specific <tt>git-ls-files</tt> options\r
+that may be given: <tt>-o</tt>, <tt>--cached</tt>, <tt>--deleted</tt>, <tt>--others</tt>,\r
+<tt>--killed</tt>, <tt>--ignored</tt>, <tt>--modified</tt>, <tt>--exclude=*</tt>,\r
+<tt>--exclude-from=*</tt>, and <tt>--exclude-per-directory=*</tt>.</p>\r
+<p>All other options will be passed to <tt>grep</tt>.</p>\r
 </dd>\r
 <dt>\r
 &lt;pattern&gt;\r
 </dt>\r
 <dd>\r
 <p>\r
-        The pattern to look for.\r
+        The pattern to look for.  The first non option is taken\r
+        as the pattern; if your pattern begins with a dash, use\r
+        <tt>-e &lt;pattern&gt;</tt>.\r
 </p>\r
 </dd>\r
 <dt>\r
@@ -325,7 +339,7 @@ containing a match to the given pattern.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 27-Dec-2005 00:16:10 PDT\r
+Last updated 24-Mar-2006 08:11:01 UTC\r
 </div>\r
 </div>\r
 </body>\r