Skip to content

Pass LD_LIBRARY_PATH to the git command

As gitlab-shell does in https://gitlab.com/gitlab-org/gitlab-shell/blob/master/lib/gitlab_shell.rb#L126

LD_LIBRARY_PATH is needed when using Software Collections for instance but there are probably many other scenarios that need it as well. It was passed to git (and from git to hooks) by gitlab-shell, and still is for SSH access, but it was not the case anymore for HTTP access with the introduction of gitlab-git-http-server/git-workhorse.

Merge request reports