diff options
author | Jeff King <peff@peff.net> | 2015-05-13 01:01:38 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-12 22:14:46 -0700 |
commit | 1c262bb7b2968a8eecca3fed366638e0779184bb (patch) | |
tree | da23b914b6d41a3f2e42dcc7cc4d5ce90a29b3e0 /Documentation/git-rev-parse.txt | |
parent | 0a3ca9c011c274f4e38a6a4508f5a370b32a0745 (diff) | |
download | git-1c262bb7b2968a8eecca3fed366638e0779184bb.tar.gz |
doc: convert \--option to --option
Older versions of AsciiDoc would convert the "--" in
"--option" into an emdash. According to 565e135
(Documentation: quote double-dash for AsciiDoc, 2011-06-29),
this is fixed in AsciiDoc 8.3.0. According to bf17126, we
don't support anything older than 8.4.1 anyway, so we no
longer need to worry about quoting.
Even though this does not change the output at all, there
are a few good reasons to drop the quoting:
1. It makes the source prettier to read.
2. We don't quote consistently, which may be confusing when
reading the source.
3. Asciidoctor does not like the quoting, and renders a
literal backslash.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
-rw-r--r-- | Documentation/git-rev-parse.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 11e032e242..bf81b9734e 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -147,7 +147,7 @@ can be used. form as close to the original input as possible. --symbolic-full-name:: - This is similar to \--symbolic, but it omits input that + This is similar to --symbolic, but it omits input that are not refs (i.e. branch or tag names; or more explicitly disambiguating "heads/master" form, when you want to name the "master" branch when there is an |