Skip to content

add comment to custom_hooks_dir

username-removed-163557 requested to merge glensc/omnibus-gitlab:patch-4 into master

add comment to custom_hooks_dir otherwise the generated file looked like it's value for git_trace_log_file. also if the option is not enabled. omit the comment as well. same for git_trace_log_file

$ tail /var/opt/gitlab/gitlab-shell/config.yml

# Git trace log file.
# If set, git commands receive GIT_TRACE* environment variables
# See https://git-scm.com/book/es/v2/Git-Internals-Environment-Variables#Debugging for documentation
# An absolute path starting with / – the trace output will be appended to that file.
# It needs to exist so we can check permissions and avoid to throwing warnings to the users.
custom_hooks_dir: "/etc/gitlab/hooks"

Merge request reports