aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/line-range-format.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-08-06 09:59:44 -0400
committerJunio C Hamano <gitster@pobox.com>2013-08-06 14:46:28 -0700
commit0bc2cdd5507ea4acad06c6d872245e4a3fd2a4b6 (patch)
tree3c67af5101944e6f22dfc393870caf76c5b323bd /Documentation/line-range-format.txt
parent3e0d79dbe3064cf065b6518520dd1489406200a9 (diff)
downloadgit-0bc2cdd5507ea4acad06c6d872245e4a3fd2a4b6.tar.gz
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/line-range-format.txt')
-rw-r--r--Documentation/line-range-format.txt4
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>.
+