Documentation: remove '\' in front of short options
... because they show up in the man and html outputs. This escaping is only needed for double dashes to be compatible with older asciidoc versions; see commit e1ccf53 ([PATCH] Escape asciidoc's built-in em-dash replacement, 2005-09-12). Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
SZEDER Gábor committed
Sep 30, 2008 at 19:27 UTC
5d6b3a9ef80a8bcd77b57ea14d4284b022b95a1f
2 files changed
+6
-6
Documentation/git-rev-list.txt
+3
-3
@@ -32,9 +32,9 @@ SYNOPSIS
32
[ \--cherry-pick ]
33
[ \--encoding[=<encoding>] ]
34
[ \--(author|committer|grep)=<pattern> ]
35
- [ \--regexp-ignore-case | \-i ]
36
- [ \--extended-regexp | \-E ]
37
- [ \--fixed-strings | \-F ]
35
+ [ \--regexp-ignore-case | -i ]
36
+ [ \--extended-regexp | -E ]
37
+ [ \--fixed-strings | -F ]
38
[ \--date={local|relative|default|iso|rfc|short} ]
39
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
40
[ \--pretty | \--header ]
Documentation/githooks.txt
+3
-3
@@ -87,12 +87,12 @@ default log message, and before the editor is started.
87
88
It takes one to three parameters. The first is the name of the file
89
that the commit log message. The second is the source of the commit
90
-message, and can be: `message` (if a `\-m` or `\-F` option was
91
-given); `template` (if a `\-t` option was given or the
90
+message, and can be: `message` (if a `-m` or `-F` option was
91
+given); `template` (if a `-t` option was given or the
92
configuration option `commit.template` is set); `merge` (if the
93
commit is a merge or a `.git/MERGE_MSG` file exists); `squash`
94
(if a `.git/SQUASH_MSG` file exists); or `commit`, followed by
95
-a commit SHA1 (if a `\-c`, `\-C` or `\--amend` option was given).
95
+a commit SHA1 (if a `-c`, `-C` or `\--amend` option was given).
96
97
If the exit status is non-zero, 'git-commit' will abort.
98