Skip to content

Commit ad1f243

Browse files
Martin Ågrengitster
authored andcommitted
Documentation: do not nest open blocks
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>
1 parent 0ee7a9a commit ad1f243

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Documentation/git-init.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ the repository to another place if --separate-git-dir is given).
3838
OPTIONS
3939
-------
4040

41-
--
42-
4341
-q::
4442
--quiet::
4543

@@ -111,8 +109,6 @@ into it.
111109
If you provide a 'directory', the command is run inside it. If this directory
112110
does not exist, it will be created.
113111

114-
--
115-
116112
TEMPLATE DIRECTORY
117113
------------------
118114

Documentation/rev-list-options.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ has a line that matches `<pattern>`), unless otherwise noted.
1313
Note that these are applied before commit
1414
ordering and formatting options, such as `--reverse`.
1515

16-
--
17-
1816
-<number>::
1917
-n <number>::
2018
--max-count=<number>::
@@ -308,8 +306,6 @@ ifdef::git-rev-list[]
308306
`<header>` text will be printed with each progress update.
309307
endif::git-rev-list[]
310308

311-
--
312-
313309
History Simplification
314310
~~~~~~~~~~~~~~~~~~~~~~
315311

0 commit comments

Comments
 (0)