]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: git-log convert rev-list-description to new doc format
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 7 Jul 2025 18:53:25 +0000 (18:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 20:45:00 +0000 (13:45 -0700)
Use `backticks` for commit ranges. 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>
Documentation/rev-list-description.adoc

index a9efa7fa2722ad6b5bb3bc3466b74bd70256b7e8..82c680e57013021dfacfb38d7d9a64c01599f26a 100644 (file)
@@ -26,8 +26,8 @@ endif::git-log[]
 means "list all the commits which are reachable from 'foo' or 'bar', but
 not from 'baz'".
 
-A special notation "'<commit1>'..'<commit2>'" can be used as a
-short-hand for "^'<commit1>' '<commit2>'". For example, either of
+A special notation "`<commit1>..<commit2>`" can be used as a
+short-hand for "`^<commit1> <commit2>`". For example, either of
 the following may be used interchangeably:
 
 ifdef::git-rev-list[]
@@ -43,7 +43,7 @@ $ git log HEAD ^origin
 -----------------------------------------------------------------------
 endif::git-log[]
 
-Another special notation is "'<commit1>'...'<commit2>'" which is useful
+Another special notation is "`<commit1>...<commit2>`" which is useful
 for merges.  The resulting set of commits is the symmetric difference
 between the two operands.  The following two commands are equivalent: