Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
blame-options.txt: explain that -L <start> and <end> are optional
author
Eric Sunshine
<sunshine@sunshineco.com>
Wed, 17 Jul 2013 21:25:32 +0000
(17:25 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 18 Jul 2013 01:02:22 +0000
(18:02 -0700)
The ability to omit either end of the -L range is a handy but
undocumented shortcut, and is thus not easily discovered. Fix this
shortcoming.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/blame-options.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
e6d2b9f
)
diff --git
a/Documentation/blame-options.txt
b/Documentation/blame-options.txt
index 624b3532a236709d5692e523be084534e367c90c..4e55b1564e8ad6526c53f797141cfccd83648fc7 100644
(file)
--- a/
Documentation/blame-options.txt
+++ b/
Documentation/blame-options.txt
@@
-11,8
+11,11
@@
-L <start>,<end>::
-L :<regex>::
- Annotate only the given line range. <start> and <end> can take
- one of these forms:
+ Annotate only the given line range. <start> and <end> are optional.
+ ``-L <start>'' or ``-L <start>,'' spans from <start> to end of file.
+ ``-L ,<end>'' spans from start of file to <end>.
++
+<start> and <end> can take one of these forms:
include::line-range-format.txt[]