Closed boudekerk closed 4 years ago
It would be nice if we could prefix the actual error message. GitLab requires this to show the message in the UI. The error-header doesn't work for this as it's not on the same line.
https://docs.gitlab.com/ee/administration/server_hooks.html#custom-error-messages
Good idea! I'll think about it.
I just released v2.12.0 with a new configuration option (githooks.error-prefix) which should help with this.
Please, try it out and comment.
Works like a charm. Thanks!
It would be nice if we could prefix the actual error message. GitLab requires this to show the message in the UI. The error-header doesn't work for this as it's not on the same line.
https://docs.gitlab.com/ee/administration/server_hooks.html#custom-error-messages