summaryrefslogtreecommitdiff
path: root/Documentation/line-range-format.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-08-06 09:59:47 -0400
committerJunio C Hamano <gitster@pobox.com>2013-08-06 14:48:02 -0700
commit215e76c7ff8be46b8206c45aed3b6ec29069d4fc (patch)
treef832aea7509f86446d5a123e6c4748d937a2e21f /Documentation/line-range-format.txt
parent1ce761a524e34f2d629759cb57c67d13acbe4a7a (diff)
downloadgit-215e76c7ff8be46b8206c45aed3b6ec29069d4fc.tar.gz
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/line-range-format.txt')
-rw-r--r--Documentation/line-range-format.txt1
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.