</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-grep</em> <option>… <pattern> <path>…</p>\r
+<p><em>git-grep</em> [<option>…] [-e] <pattern> [--] [<path>…]</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
<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 <path> limiters.\r
+</p>\r
+</dd>\r
+<dt>\r
<option>…\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
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>The following are the specific `git-ls-files` options\r
+that may be given: `-o`, `--cached`, `--deleted`, `--others`,\r
+`--killed`, `--ignored`, `--modified`, `--exclude=*`,\r
+`--exclude-from=*`, and `--exclude-per-directory=*`.</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>All other options will be passed to `grep`.</tt></pre>\r
+</div></div>\r
</dd>\r
<dt>\r
<pattern>\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 <pattern></tt>.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 27-Dec-2005 00:16:10 PDT\r
+Last updated 21-Jan-2006 23:50:17 PDT\r
</div>\r
</div>\r
</body>\r