diff options
author | Yasushi SHOJI <yashi@atmark-techno.com> | 2005-09-12 02:29:10 +0900 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-11 10:51:36 -0700 |
commit | e1ccf53a60657930ae7892387736c8b6a91ec610 (patch) | |
tree | 8757764549bc6e034e21d29da780b946c39ee760 /Documentation/hooks.txt | |
parent | 2c865d9aa7b9c3511f901b2544b667c5188f510e (diff) | |
download | git-e1ccf53a60657930ae7892387736c8b6a91ec610.tar.gz |
[PATCH] Escape asciidoc's built-in em-dash replacement
AsciiDoc replace '--' with em-dash (—) 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.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index ca0efeeccf..57f4720871 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. |