From 0bc2cdd5507ea4acad06c6d872245e4a3fd2a4b6 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Tue, 6 Aug 2013 09:59:44 -0400 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Documentation/line-range-format.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 is a regex, it will search +POSIX regex. If is a regex, it will search from the end of +the previous `-L` range, if any, otherwise from the start of file. +If is a regex, it will search starting at the line given by . + -- 2.11.4.GIT