summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Colyer <jcolyer2007@gmail.com>2018-10-05 15:47:15 -0500
committerJason Colyer <jcolyer2007@gmail.com>2018-10-05 15:47:15 -0500
commit54579baf533d9102ddc3c1047e7420d7fbc8d7db (patch)
treefcdbd74a763058ae1f4073f4c0d2a7254335c221
parent5ad5d2f14e688733e177a18dc15e3e7645fcdc57 (diff)
downloadgitlab-ce-54579baf533d9102ddc3c1047e7420d7fbc8d7db.tar.gz
Added note to clarify values for hook-name.d
-rw-r--r--doc/administration/custom_hooks.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/administration/custom_hooks.md b/doc/administration/custom_hooks.md
index 9b0fabb9259..d64c2968616 100644
--- a/doc/administration/custom_hooks.md
+++ b/doc/administration/custom_hooks.md
@@ -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.