Skip to content

Commit ac0c3b2

Browse files
authored
Merge pull request #112 from noritada/fix-markup
Insert spaces around backticks for markups to be correctly detected
2 parents b5e24e0 + 6bac176 commit ac0c3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/08-customizing-git/sections/hooks.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This hook takes a few parameters: the path to the file that holds the commit mes
9191
This hook generally isn't useful for normal commits; rather, it's good for commits where the default message is auto-generated, such as templated commit messages, merge commits, squashed commits, and amended commits.
9292
You may use it in conjunction with a commit template to programmatically insert information.
9393
//////////////////////////
94-
`prepare-commit-msg`フックは、コミットメッセージエディターが起動する直前、デフォルトメッセージが生成された直後に実行されます。
94+
`prepare-commit-msg` フックは、コミットメッセージエディターが起動する直前、デフォルトメッセージが生成された直後に実行されます。
9595
このフックでは、デフォルトメッセージを、コミットの作者の目に触れる前に編集できます。
9696
このフックにはパラメータがあり、その時点でのコミットメッセージを保存したファイルへのパス、コミットのタイプ、さらにamendされたコミットの場合はコミットの SHA-1 をパラメータとして取ります。
9797
このフックは普段のコミットにおいてはあまり有用ではありませんが、テンプレートが用意されているコミットメッセージ・mergeコミット・squashコミット・amendコミットのような、デフォルトメッセージが自動生成されるコミットにおいて効果を発揮します。

0 commit comments

Comments
 (0)