Skip to content

CreateRepositoryFromURL switch to mirror flag

This change the behavior of CreateRepositoryFromURL from using --bare to --mirror (which implies --bare). The tangible difference is that all available refs are synced.

When using against a regular public endpoint, this will likely have no difference in behavior as any "internal" reference is likely filtered.

Instead, when using it with a Geo endpoint with the special authentication header, it will instead clone every internal reference (like every keep-around and others we use internally), which is the desired effect here.

This is a requirement for gitlab!77143 (merged)

Merge request reports

Loading