@matheusbsbs / matheus-bagliano / commits / a44f88e251
Fork 0

Update -L documentation for git-blame/git-annotate

Documenting alternate ways to use -L: -L /regex/,end -L start,+offset Signed-off-by: Andrew Ruder <andy@aeruder.net> Signed-off-by: Junio C Hamano <junkio@cox.net>

Andrew Ruder committed Apr 26, 2007 at 23:58 UTC a44f88e251a82c32dcc4715f063e3e3e39562a8d
1 file changed +22 -2
Documentation/blame-options.txt
+22 -2
@@ -9,8 +9,28 @@
9 --show-stats::
10 Include additional statistics at the end of blame output.
11
12 --L n,m::
13 - Annotate only the specified line range (lines count from 1).
12 +-L <start>,<end>::
13 + Annotate only the given line range. <start> and <end> can take
14 + one of these forms:
15 +
16 + - number
17 ++
18 +If <start> or <end> is a number, it specifies an
19 +absolute line number (lines count from 1).
20 ++
21 +
22 +- /regex/
23 ++
24 +This form will use the first line matching the given
25 +POSIX regex. If <end> is a regex, it will search
26 +starting at the line given by <start>.
27 ++
28 +
29 +- +offset or -offset
30 ++
31 +This is only valid for <end> and will specify a number
32 +of lines before or after the line given by <start>.
33 ++
34
35 -l::
36 Show long rev (Default: off).