Skip to content

Do not relativize GitObjectDirectory and GitAlternateObjectDirectories

John Cai requested to merge jc-fix-git-alt-dirs into master

While writing tests for !2155 (merged), I realized that GitObjectDirectory and GitObjectDirectories in the repository object are already relativized via: https://gitlab.com/gitlab-org/gitaly/-/blob/master/cmd/gitaly-hooks/hooks.go#L164

So in access.go we can just pass those fields directly to the API.

These changes will get test coverage through !2155 (merged)

Edited by GitLab Release Tools Bot

Merge request reports

Loading