Commit 8a6a3529 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'doc-custom-hooks' into 'master'

Fix typo and explain the precedence of STDERR and STDOUT

## What does this MR do?

Addresses comments https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5088#note_12884564

See merge request !5169
parents 440345bd d9c49435
...@@ -48,7 +48,8 @@ as appropriate. ...@@ -48,7 +48,8 @@ as appropriate.
This feature was [introduced][5073] in GitLab 8.10. This feature was [introduced][5073] in GitLab 8.10.
If the commit is declined or an error occurs during the Git hook check, If the commit is declined or an error occurs during the Git hook check,
the STDERR and/or SDOUT message of the hook will be present in GitLab's UI. the STDERR or STDOUT message of the hook will be present in GitLab's UI.
STDERR takes precedence over STDOUT.
![Custom message from custom Git hook](img/custom_hooks_error_msg.png) ![Custom message from custom Git hook](img/custom_hooks_error_msg.png)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment