summaryrefslogtreecommitdiffstats
path: root/gitk.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-01-27 13:31:26 -0800
committerJunio C Hamano <gitster@pobox.com>2014-01-27 13:31:26 -0800
commitc5bd79e0cb5f924e05e9e6cdb64a4be2ade572e1 (patch)
tree1e2fc163814f8a67de8629f2a39db92f2160c39b /gitk.html
parentfd98be8ac969289726bc1df7bab75d2e02ddbaa7 (diff)
downloadgit-htmldocs-c5bd79e0cb5f924e05e9e6cdb64a4be2ade572e1.tar.gz
Autogenerated HTML docs for v1.9-rc1
Diffstat (limited to 'gitk.html')
-rw-r--r--gitk.html54
1 files changed, 53 insertions, 1 deletions
diff --git a/gitk.html b/gitk.html
index e0a2afecb..30728bbad 100644
--- a/gitk.html
+++ b/gitk.html
@@ -887,6 +887,58 @@ command line parser.</p></div>
</p>
</dd>
<dt class="hdlist1">
+-L&lt;start&gt;,&lt;end&gt;:&lt;file&gt;
+</dt>
+<dt class="hdlist1">
+-L:&lt;regex&gt;:&lt;file&gt;
+</dt>
+<dd>
+<p>
+ Trace the evolution of the line range given by "&lt;start&gt;,&lt;end&gt;"
+ (or the funcname regex &lt;regex&gt;) within the &lt;file&gt;. You may
+ not give any pathspec limiters. This is currently limited to
+ a walk starting from a single revision, i.e., you may only
+ give zero or one positive revision arguments.
+ You can specify this option more than once.
+</p>
+<div class="paragraph"><p><strong>Note:</strong> gitk (unlike <a href="git-log.html">git-log(1)</a>) currently only understands
+this option if you specify it "glued together" with its argument. Do
+<strong>not</strong> put a space after <tt>-L</tt>.</p></div>
+<div class="paragraph"><p>&lt;start&gt; and &lt;end&gt; can take one of these forms:</p></div>
+<div class="ulist"><ul>
+<li>
+<p>
+number
+</p>
+<div class="paragraph"><p>If &lt;start&gt; or &lt;end&gt; is a number, it specifies an
+absolute line number (lines count from 1).</p></div>
+</li>
+<li>
+<p>
+/regex/
+</p>
+<div class="paragraph"><p>This form will use the first line matching the given
+POSIX regex. If &lt;start&gt; is a regex, it will search from the end of
+the previous <tt>-L</tt> range, if any, otherwise from the start of file.
+If &lt;start&gt; is &#8220;^/regex/&#8221;, it will search from the start of file.
+If &lt;end&gt; is a regex, it will search
+starting at the line given by &lt;start&gt;.</p></div>
+</li>
+<li>
+<p>
++offset or -offset
+</p>
+<div class="paragraph"><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></div>
+</li>
+</ul></div>
+<div class="paragraph"><p>If &#8220;:&lt;regex&gt;&#8221; is given in place of &lt;start&gt; and &lt;end&gt;, it denotes the range
+from the first funcname line that matches &lt;regex&gt;, up to the next
+funcname line. &#8220;:&lt;regex&gt;&#8221; searches from the end of the previous <tt>-L</tt> range,
+if any, otherwise from the start of file.
+&#8220;^:&lt;regex&gt;&#8221; searches from the start of file.</p></div>
+</dd>
+<dt class="hdlist1">
&lt;revision range&gt;
</dt>
<dd>
@@ -1033,7 +1085,7 @@ into the main Git repository.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-10-30 14:54:47 PDT
+Last updated 2014-01-27 13:30:07 PST
</div>
</div>
</body>