From: Thomas Rast <trast@student.ethz.ch>
To: "SZEDER Gábor" <szeder@ira.uka.de>
Cc: "Shawn O. Pearce" <spearce@spearce.org>, git@vger.kernel.org
Subject: Re: [PATCH] Documentation: remove '\' from front of options in githooks doc
Date: Tue, 30 Sep 2008 17:56:32 +0200 [thread overview]
Message-ID: <200809301756.41518.trast@student.ethz.ch> (raw)
In-Reply-To: <1222781831-6620-1-git-send-email-szeder@ira.uka.de>
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
SZEDER Gábor wrote:
> ... because they show up in the man and html outputs.
...
> diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
...
> @@ -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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-09-30 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 13:37 [PATCH] Documentation: remove '\' from front of options in githooks doc SZEDER Gábor
2008-09-30 15:56 ` Thomas Rast [this message]
2008-09-30 17:21 ` SZEDER Gábor
2008-09-30 17:27 ` [PATCH] Documentation: remove '\' in front of short options SZEDER Gábor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809301756.41518.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
--cc=szeder@ira.uka.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).