File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 10
10
Include additional statistics at the end of blame output.
11
11
12
12
-L <start>,<end>::
13
- -L :<regex >::
13
+ -L :<funcname >::
14
14
Annotate only the given line range. May be specified multiple times.
15
15
Overlapping ranges are allowed.
16
16
+
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ produced by `--stat`, etc.
62
62
output by allowing them to allocate space in advance.
63
63
64
64
-L <start>,<end>:<file>::
65
- -L :<regex >:<file>::
65
+ -L :<funcname >:<file>::
66
66
Trace the evolution of the line range given by "<start>,<end>"
67
- (or the funcname regex <regex >) within the <file>. You may
67
+ (or the function name regex <funcname >) within the <file>. You may
68
68
not give any pathspec limiters. This is currently limited to
69
69
a walk starting from a single revision, i.e., you may only
70
70
give zero or one positive revision arguments.
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ linkgit:git-rev-list[1] for a complete list.
99
99
detailed explanation.)
100
100
101
101
-L<start>,<end>:<file>::
102
- -L:<regex >:<file>::
102
+ -L:<funcname >:<file>::
103
103
104
104
Trace the evolution of the line range given by "<start>,<end>"
105
- (or the funcname regex <regex >) within the <file>. You may
105
+ (or the function name regex <funcname >) within the <file>. You may
106
106
not give any pathspec limiters. This is currently limited to
107
107
a walk starting from a single revision, i.e., you may only
108
108
give zero or one positive revision arguments.
Original file line number Diff line number Diff line change @@ -22,8 +22,9 @@ This is only valid for <end> and will specify a number
22
22
of lines before or after the line given by <start>.
23
23
24
24
+
25
- If ``:<regex>'' is given in place of <start> and <end>, it denotes the range
26
- from the first funcname line that matches <regex>, up to the next
27
- funcname line. ``:<regex>'' searches from the end of the previous `-L` range,
28
- if any, otherwise from the start of file.
29
- ``^:<regex>'' searches from the start of file.
25
+ If ``:<funcname>'' is given in place of <start> and <end>, it is a
26
+ regular expression that denotes the range from the first funcname line
27
+ that matches <funcname>, up to the next funcname line. ``:<funcname>''
28
+ searches from the end of the previous `-L` range, if any, otherwise
29
+ from the start of file. ``^:<funcname>'' searches from the start of
30
+ file.
You can’t perform that action at this time.
0 commit comments