]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/line-range-options.txt
Start the 2.46 cycle
[thirdparty/git.git] / Documentation / line-range-options.txt
1 -L<start>,<end>:<file>::
2 -L:<funcname>:<file>::
3
4 Trace the evolution of the line range given by '<start>,<end>',
5 or by the function name regex '<funcname>', within the '<file>'. You may
6 not give any pathspec limiters. This is currently limited to
7 a walk starting from a single revision, i.e., you may only
8 give zero or one positive revision arguments, and
9 '<start>' and '<end>' (or '<funcname>') must exist in the starting revision.
10 You can specify this option more than once. Implies `--patch`.
11 Patch output can be suppressed using `--no-patch`, but other diff formats
12 (namely `--raw`, `--numstat`, `--shortstat`, `--dirstat`, `--summary`,
13 `--name-only`, `--name-status`, `--check`) are not currently implemented.
14 +
15 include::line-range-format.txt[]