Skip to content

feat: Improve git ref resolution by resolving symbolic refs

Lucas Charles requested to merge improve-git-ref-resolution into main

What does this MR do?

Previously support for non-hash references required unambiguous refs, see git definitions. These are cumbersome so we should instead resolve short refs by using git ls-remote and supporting short refs like main instead of ref/heads/main

What are the relevant issue numbers?

Related to gitlab-org/gitlab#393452 (closed) but not required for it.

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports