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 gitlab-shell!136 (merged)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #34502 (closed)

Edited by Dmytro Zaporozhets (DZ)

Merge request reports