diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-27 13:31:26 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-27 13:31:26 -0800 |
commit | c5bd79e0cb5f924e05e9e6cdb64a4be2ade572e1 (patch) | |
tree | 1e2fc163814f8a67de8629f2a39db92f2160c39b /gitk.html | |
parent | fd98be8ac969289726bc1df7bab75d2e02ddbaa7 (diff) | |
download | git-htmldocs-c5bd79e0cb5f924e05e9e6cdb64a4be2ade572e1.tar.gz |
Autogenerated HTML docs for v1.9-rc1
Diffstat (limited to 'gitk.html')
-rw-r--r-- | gitk.html | 54 |
1 files changed, 53 insertions, 1 deletions
@@ -887,6 +887,58 @@ command line parser.</p></div> </p>
</dd>
<dt class="hdlist1">
+-L<start>,<end>:<file>
+</dt>
+<dt class="hdlist1">
+-L:<regex>:<file>
+</dt>
+<dd>
+<p>
+ Trace the evolution of the line range given by "<start>,<end>"
+ (or the funcname regex <regex>) within the <file>. 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><start> and <end> can take one of these forms:</p></div>
+<div class="ulist"><ul>
+<li>
+<p>
+number
+</p>
+<div class="paragraph"><p>If <start> or <end> 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 <start> 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 <start> is “^/regex/”, it will search from the start of file.
+If <end> is a regex, it will search
+starting at the line given by <start>.</p></div>
+</li>
+<li>
+<p>
++offset or -offset
+</p>
+<div class="paragraph"><p>This is only valid for <end> and will specify a number
+of lines before or after the line given by <start>.</p></div>
+</li>
+</ul></div>
+<div class="paragraph"><p>If “:<regex>” is given in place of <start> and <end>, it denotes the range
+from the first funcname line that matches <regex>, up to the next
+funcname line. “:<regex>” searches from the end of the previous <tt>-L</tt> range,
+if any, otherwise from the start of file.
+“^:<regex>” searches from the start of file.</p></div>
+</dd>
+<dt class="hdlist1">
<revision range>
</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>
|