diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-08-06 17:59:44 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-07 01:46:28 +0400 |
commit | 0bc2cdd5507ea4acad06c6d872245e4a3fd2a4b6 (patch) | |
tree | 3c67af5101944e6f22dfc393870caf76c5b323bd /Documentation | |
parent | 3e0d79dbe3064cf065b6518520dd1489406200a9 (diff) |
line-range-format.txt: document -L/RE/ relative search
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/line-range-format.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/line-range-format.txt b/Documentation/line-range-format.txt index a1b2f4e089..42d74f75ad 100644 --- a/Documentation/line-range-format.txt +++ b/Documentation/line-range-format.txt @@ -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>. + |