-
Zeger-Jan van de Weg authored
If the git hooks aren't symlinked properly, GitLab authentication and authorization is skipped completely. So on most Git operations, if these hooks are missing this commit will try to repair them when triggering an upload-pack, or receive-pack git action. This change also allows the Gitaly team to change the hooks in following releases to any new ones. And allowing for absorbing the gitlab-shell hooks into this project. Previously attempted in: gitlab-org/gitaly@87198d32, which ran into race conditions. This approach does not Part of gitlab-org/gitaly#1226
Zeger-Jan van de Weg authoredIf the git hooks aren't symlinked properly, GitLab authentication and authorization is skipped completely. So on most Git operations, if these hooks are missing this commit will try to repair them when triggering an upload-pack, or receive-pack git action. This change also allows the Gitaly team to change the hooks in following releases to any new ones. And allowing for absorbing the gitlab-shell hooks into this project. Previously attempted in: gitlab-org/gitaly@87198d32, which ran into race conditions. This approach does not Part of gitlab-org/gitaly#1226
Loading