diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-08-06 17:59:47 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-07 01:48:02 +0400 |
commit | 215e76c7ff8be46b8206c45aed3b6ec29069d4fc (patch) | |
tree | f832aea7509f86446d5a123e6c4748d937a2e21f /Documentation | |
parent | 1ce761a524e34f2d629759cb57c67d13acbe4a7a (diff) |
line-range: teach -L^:RE to search from start of file
The -L:RE option of blame/log searches from the end of the previous -L
range, if any. Add new notation -L^:RE to override this behavior and
search from start of file.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/line-range-format.txt b/Documentation/line-range-format.txt index 469d80b242..d7f26039ca 100644 --- a/Documentation/line-range-format.txt +++ b/Documentation/line-range-format.txt @@ -26,3 +26,4 @@ If ``:<regex>'' is given in place of <start> and <end>, it denotes the range from the first funcname line that matches <regex>, up to the next funcname line. ``:<regex>'' searches from the end of the previous `-L` range, if any, otherwise from the start of file. +``^:<regex>'' searches from the start of file. |