Skip to content

Commit 6bac176

Browse files
committed
Insert spaces around backticks for markups to be correctly detected
1 parent 7416f92 commit 6bac176

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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コミットのような、デフォルトメッセージが自動生成されるコミットにおいて効果を発揮します。
@@ -111,7 +111,7 @@ After the entire commit process is completed, the `post-commit` hook runs.
111111
It doesn't take any parameters, but you can easily get the last commit by running `git log -1 HEAD`.
112112
Generally, this script is used for notification or something similar.
113113
//////////////////////////
114-
コミットプロセスが全て完了した後には、`post-commit`フックが実行されます。
114+
コミットプロセスが全て完了した後には、 `post-commit` フックが実行されます。
115115
このフックはパラメータを取りませんが、 `git log -1 HEAD` を実行することで直前のコミットを簡単に取り出すことができます。
116116
一般的にこのスクリプトは何かしらの通知といった目的に使用されます。
117117

0 commit comments

Comments
 (0)