doc: git-log: convert line range options to new doc format
format placeholders in italics and keywords in monospace - Use _<placeholder>_ instead of <placeholder> in the description - Use `backticks` for keywords and more complex option descriptions. The new rendering engine will apply synopsis rules to these spans. Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jean-Noël Avila committed
Jul 7, 2025 at 18:53 UTC
0c2585672248ed361c53ba21c949ab57b349daec
1 file changed
+5
-5
Documentation/line-range-options.adoc
+5
-5
@@ -1,12 +1,12 @@
1
--L<start>,<end>:<file>::
2
--L:<funcname>:<file>::
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
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.
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`,