Skip to content

Commit

Permalink
line-range-format.txt: document -L/RE/ relative search
Browse files Browse the repository at this point in the history
Option -L/RE/ of blame/log now searches relative to the previous -L
range, if any. Document this.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Eric Sunshine authored and Junio C Hamano committed Aug 6, 2013
1 parent 3e0d79d commit 0bc2cdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/line-range-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ absolute line number (lines count from 1).
- /regex/
+
This form will use the first line matching the given
POSIX regex. If <end> is a regex, it will search
POSIX regex. If <start> is a regex, it will search from the end of
the previous `-L` range, if any, otherwise from the start of file.
If <end> is a regex, it will search
starting at the line given by <start>.
+

Expand Down

0 comments on commit 0bc2cdd

Please sign in to comment.