diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-02 16:46:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 16:46:52 -0700 |
commit | 7e590a1afe350393356fbecdd44a43a42ddfad34 (patch) | |
tree | 0ff3bfac8994607bda7188f1c19895c965fb96ce /line-range-format.txt | |
parent | c710296399a86586e3a5e24ea8519ea2442ab7cf (diff) | |
download | git-htmldocs-7e590a1afe350393356fbecdd44a43a42ddfad34.tar.gz |
Autogenerated HTML docs for v1.8.3-182-gb2edae
Diffstat (limited to 'line-range-format.txt')
-rw-r--r-- | line-range-format.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/line-range-format.txt b/line-range-format.txt new file mode 100644 index 000000000..3e7ce72da --- /dev/null +++ b/line-range-format.txt @@ -0,0 +1,25 @@ +- number ++ +If <start> or <end> is a number, it specifies an +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 +starting at the line given by <start>. ++ + +- +offset or -offset ++ +This is only valid for <end> and will specify a number +of lines before or after the line given by <start>. ++ + +- :regex ++ +If the option's argument is of the form :regex, it denotes the range +from the first funcname line that matches <regex>, up to the next +funcname line. ++ |