Re: [PATCH] Documentation: remove '\' from front of options in githooks doc
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Sep 30, 2008, 15:56 UTC
- Message-ID
- <200809301756.41518.trast@student.ethz.ch>
- In-Reply-To
- <1222781831-6620-1-git-send-email-szeder@ira.uka.de>
SZEDER Gábor wrote:
> ... because they show up in the man and html outputs.
...
> diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
...
Show 9 quoted lines
> @@ -66,7 +66,7 @@ pre-commit > ---------- > > This hook is invoked by 'git-commit', and can be bypassed > -with `\--no-verify` option. It takes no parameter, and is > +with `--no-verify` option. It takes no parameter, and is > invoked before obtaining the proposed commit log message and > making a commit. Exiting with non-zero status from this script > causes the 'git-commit' to abort.
This must be checked against older asciidocs to verify that it does not turn the unescaped sequence -- into an em-dash. The \-- traces back to e1ccf53 ([PATCH] Escape asciidoc's built-in em-dash replacement, 2005-09-12), which indicates that it _was_ a problem in the past. (The asciidoc 8.2.5 on my system does not use an em-dash in either case.)
ACK on all single-dash cases though, which are indeed wrong and were apparently introduced later in 8089c85 (git-commit: add a prepare-commit-msg hook, 2008-02-05).
- Thomas
-- Thomas Rast trast@student.ethz.ch