Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
line-range-format.txt: document -L/RE/ relative search
author
Eric Sunshine
<sunshine@sunshineco.com>
Tue, 6 Aug 2013 13:59:44 +0000
(09:59 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 6 Aug 2013 21:46:28 +0000
(14:46 -0700)
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>
Documentation/line-range-format.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3e0d79d
)
diff --git
a/Documentation/line-range-format.txt
b/Documentation/line-range-format.txt
index a1b2f4e0893cdcc34b6bd58a6474582b8afc96e3..42d74f75ad2a6a55a366595b5be2ecceb986c028 100644
(file)
--- 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>.
+