summaryrefslogtreecommitdiff
path: root/Documentation/hooks.txt
diff options
context:
space:
mode:
authorYasushi SHOJI <yashi@atmark-techno.com>2005-09-11 17:29:10 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-11 17:51:36 (GMT)
commite1ccf53a60657930ae7892387736c8b6a91ec610 (patch)
tree8757764549bc6e034e21d29da780b946c39ee760 /Documentation/hooks.txt
parent2c865d9aa7b9c3511f901b2544b667c5188f510e (diff)
downloadgit-e1ccf53a60657930ae7892387736c8b6a91ec610.zip
git-e1ccf53a60657930ae7892387736c8b6a91ec610.tar.gz
git-e1ccf53a60657930ae7892387736c8b6a91ec610.tar.bz2
[PATCH] Escape asciidoc's built-in em-dash replacement
AsciiDoc replace '--' with em-dash (&#8212) by default. em-dash looks a lot like a single long dash and it's very confusing when we are talking about command options. Section 21.2.8 'Replacements' of AsciiDoc's User Guide says that a backslash in front of double dash prevent the replacement. This patch does just that. Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/hooks.txt')
-rw-r--r--Documentation/hooks.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt
index ca0efee..57f4720 100644
--- a/Documentation/hooks.txt
+++ b/Documentation/hooks.txt
@@ -57,7 +57,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.
@@ -70,7 +70,7 @@ commit-msg
----------
This hook is invoked by `git-commit`, and can be bypassed
-with `--no-verify` option. It takes a single parameter, the
+with `\--no-verify` option. It takes a single parameter, the
name of the file that holds the proposed commit log message.
Exiting with non-zero status causes the `git-commit` to
abort.