doc: convert [\--] to [--]
Commit 1c262bb7b (doc: convert \--option to --option, 2015-05-13) explains that we used to need to write \--option to play well with older versions of AsciiDoc, but that we do not support such versions anymore anyway, and that Asciidoctor literally renders \--. With [\--], which is used to denote the optional separator between revisions and paths, Asciidoctor renders the backslash literally. Change all [\--] to [--]. This changes nothing for AsciiDoc version 8.6.9, but is an improvement for Asciidoctor version 1.5.4. We use double-dashes in several list entries (\--::). In my testing, it appears that we do need to use the backslash there, so leave those. Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Martin Ågren committed
Apr 17, 2018 at 21:15 UTC
933c758c7d9520033b1ead979df5a2723a4a10e3
3 files changed
+5
-5
Documentation/git-log.txt
+2
-2
@@ -9,7 +9,7 @@ git-log - Show commit logs
9
SYNOPSIS
10
--------
11
[verse]
12
-'git log' [<options>] [<revision range>] [[\--] <path>...]
12
+'git log' [<options>] [<revision range>] [[--] <path>...]
13
14
DESCRIPTION
15
-----------
@@ -90,7 +90,7 @@ include::line-range-format.txt[]
90
ways to spell <revision range>, see the 'Specifying Ranges'
91
section of linkgit:gitrevisions[7].
92
93
-[\--] <path>...::
93
+[--] <path>...::
94
Show only commits that are enough to explain how the files
95
that match the specified paths came to be. See 'History
96
Simplification' below for details and other simplification
Documentation/git-shortlog.txt
+2
-2
@@ -8,7 +8,7 @@ git-shortlog - Summarize 'git log' output
8
SYNOPSIS
9
--------
10
[verse]
11
-'git shortlog' [<options>] [<revision range>] [[\--] <path>...]
11
+'git shortlog' [<options>] [<revision range>] [[--] <path>...]
12
git log --pretty=short | 'git shortlog' [<options>]
13
14
DESCRIPTION
@@ -69,7 +69,7 @@ them.
69
ways to spell <revision range>, see the "Specifying Ranges"
70
section of linkgit:gitrevisions[7].
71
72
-[\--] <path>...::
72
+[--] <path>...::
73
Consider only commits that are enough to explain how the files
74
that match the specified paths came to be.
75
+
Documentation/gitk.txt
+1
-1
@@ -8,7 +8,7 @@ gitk - The Git repository browser
8
SYNOPSIS
9
--------
10
[verse]
11
-'gitk' [<options>] [<revision range>] [\--] [<path>...]
11
+'gitk' [<options>] [<revision range>] [--] [<path>...]
12
13
DESCRIPTION
14
-----------