Skip to content

Forward url rewrite in lfs pull

François Leurent requested to merge 131/gitlab-runner:131-main-patch-68236 into main

What does this MR do?

This fix the git lfs pull when using GIT_SUBMODULE_FORCE_HTTPS=true and GIT_SUBMODULE_STRATEGY=recursive

Why was this MR needed?

When using GIT_SUBMODULE_FORCE_HTTPS, all git submodule clone operations are extended with a git url rewrite configuration context. It is working great.

Yet, submodules recursive lfs pulls are not extended with this rewrite, and therefore are not working as intended.

What's the best way to test this MR?

Once fixed, the repository clone will work.

What are the relevant issue numbers?

This is an attempt to fix #35990 (closed)

Merge request reports