Skip to content

Set the GL_REPOSITORY env variable on Gitlab::Git::Hook

What does this MR do?

Sets the GL_REPOSITORY env variable on Gitlab::Git::Hook. It takes the chance to reduce code redundancy now that project gets passed around instead of just the repo_path.

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

GL_REPOSITORY is now required on the hooks after https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/136

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34502 (closed)

Edited by username-removed-444

Merge request reports

Loading