[PATCH v2 11/16] line-range-format.txt: document -L/RE/ relative search
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 6, 2013, 13:59 UTC
- Message-ID
- <1375797589-65308-12-git-send-email-sunshine@sunshineco.com>
- In-Reply-To
- <1375797589-65308-1-git-send-email-sunshine@sunshineco.com>
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> --- 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 a1b2f4e..42d74f7 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>. +
-- 1.8.4.rc1.409.gbd48715