Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit bf39399

Browse files
committed
Merge branch 'tr/gitk-doc-range-trace'
* tr/gitk-doc-range-trace: Documentation/gitk: document -L option
2 parents a6bec00 + 0c1cddd commit bf39399

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Documentation/gitk.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ linkgit:git-rev-list[1] for a complete list.
9898
(See "History simplification" in linkgit:git-log[1] for a more
9999
detailed explanation.)
100100

101+
-L<start>,<end>:<file>::
102+
-L:<regex>:<file>::
103+
104+
Trace the evolution of the line range given by "<start>,<end>"
105+
(or the funcname regex <regex>) within the <file>. You may
106+
not give any pathspec limiters. This is currently limited to
107+
a walk starting from a single revision, i.e., you may only
108+
give zero or one positive revision arguments.
109+
You can specify this option more than once.
110+
+
111+
*Note:* gitk (unlike linkgit:git-log[1]) currently only understands
112+
this option if you specify it "glued together" with its argument. Do
113+
*not* put a space after `-L`.
114+
+
115+
include::line-range-format.txt[]
116+
101117
<revision range>::
102118

103119
Limit the revisions to show. This can be either a single revision

0 commit comments

Comments
 (0)