Skip to content

Commit 029b197

Browse files
jnavilagitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d9a4937 commit 029b197

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/line-range-options.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
-L<start>,<end>:<file>::
2-
-L:<funcname>:<file>::
1+
`-L<start>,<end>:<file>`::
2+
`-L:<funcname>:<file>`::
33

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
66
not give any pathspec limiters. This is currently limited to
77
a walk starting from a single revision, i.e., you may only
88
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.
1010
You can specify this option more than once. Implies `--patch`.
1111
Patch output can be suppressed using `--no-patch`, but other diff formats
1212
(namely `--raw`, `--numstat`, `--shortstat`, `--dirstat`, `--summary`,

0 commit comments

Comments
 (0)