]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: do not nest open blocks
authorMartin Ågren <martin.agren@gmail.com>
Sun, 16 Dec 2018 14:28:58 +0000 (15:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Dec 2018 23:29:30 +0000 (15:29 -0800)
It appears we try to nest open blocks, but that does not work well with
Asciidoctor, which fails to indent the inner blocks. As a result, they
do not visually seem to relate (as much) to the preceding paragraph as
they should. Drop the outer blocks to fix the rendering of the inner
ones. Asciidoc renders identically before and after this patch, both
man-pages and html.

This also makes Asciidoctor stop rendering a literal '+' before "Under
--pretty=oneline ..." in the manuals for git-log and git-rev-list.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-init.txt
Documentation/rev-list-options.txt

index 3c5a67fb9671f8c65e0830222c63bb5035a05c30..057076ca38eecfc6d25caeb90110efc4c30e83a1 100644 (file)
@@ -38,8 +38,6 @@ the repository to another place if --separate-git-dir is given).
 OPTIONS
 -------
 
---
-
 -q::
 --quiet::
 
@@ -111,8 +109,6 @@ into it.
 If you provide a 'directory', the command is run inside it. If this directory
 does not exist, it will be created.
 
---
-
 TEMPLATE DIRECTORY
 ------------------
 
index bab5f50b1724913c7607180897b7f92d1517dda9..98b538bc779635fcf59afd1a8cb366e9e57ed7ae 100644 (file)
@@ -13,8 +13,6 @@ has a line that matches `<pattern>`), unless otherwise noted.
 Note that these are applied before commit
 ordering and formatting options, such as `--reverse`.
 
---
-
 -<number>::
 -n <number>::
 --max-count=<number>::
@@ -308,8 +306,6 @@ ifdef::git-rev-list[]
        `<header>` text will be printed with each progress update.
 endif::git-rev-list[]
 
---
-
 History Simplification
 ~~~~~~~~~~~~~~~~~~~~~~