summaryrefslogtreecommitdiffstats
path: root/git-annotate.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-04-27 08:22:22 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-04-27 08:22:22 +0000
commit9882a5200fb6c505c213d9fd3d9d664e2b14f983 (patch)
treef48ba598fbb8c92b5a16c9846d6e860eb543e69c /git-annotate.html
parent45889b44baad996378f334ac546f4cf08147fff6 (diff)
downloadgit-htmldocs-9882a5200fb6c505c213d9fd3d9d664e2b14f983.tar.gz
Autogenerated HTML docs for v1.5.2-rc0-71-g4342
Diffstat (limited to 'git-annotate.html')
-rw-r--r--git-annotate.html31
1 files changed, 28 insertions, 3 deletions
diff --git a/git-annotate.html b/git-annotate.html
index a8a6215b3..3043a7474 100644
--- a/git-annotate.html
+++ b/git-annotate.html
@@ -309,12 +309,37 @@ which introduced the line. Optionally annotate from a given revision.</p>
</p>
</dd>
<dt>
--L n,m
+-L &lt;start&gt;,&lt;end&gt;
</dt>
<dd>
<p>
- Annotate only the specified line range (lines count from 1).
+ Annotate only the given line range. &lt;start&gt; and &lt;end&gt; can take
+ one of these forms:
</p>
+<ul>
+<li>
+<p>
+number
+</p>
+<p>If &lt;start&gt; or &lt;end&gt; is a number, it specifies an
+absolute line number (lines count from 1).</p>
+</li>
+<li>
+<p>
+/regex/
+</p>
+<p>This form will use the first line matching the given
+POSIX regex. If &lt;end&gt; is a regex, it will search
+starting at the line given by &lt;start&gt;.</p>
+</li>
+<li>
+<p>
++offset or -offset
+</p>
+<p>This is only valid for &lt;end&gt; and will specify a number
+of lines before or after the line given by &lt;start&gt;.</p>
+</li>
+</ul>
</dd>
<dt>
-l
@@ -435,7 +460,7 @@ commit.</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 17-Apr-2007 08:27:39 UTC
+Last updated 27-Apr-2007 08:21:39 UTC
</div>
</div>
</body>