Added note to clarify values for hook-name.d

This commit is contained in:
Jason Colyer 2018-10-05 15:47:15 -05:00
parent 5ad5d2f14e
commit 54579baf53
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ pattern (`*~`).
The hooks of the same type are executed in order and execution stops on the
first script exiting with a non-zero value.
> **Note:** In the above examples, `<hook_name>.d` would need to be either `pre-receive.d`, `post-receive.d`, or `update.d` to work properly. Any other names would be ignored.
## Custom error messages
> [Introduced][5073] in GitLab 8.10.