Snippets default branch discrepancy
Seen in Docker-based functional tests for Heptapod 0.31.0rc1 and reproduced outside of CI, in Docker context only.
In Heptapod, Snippet repositories should behave exactly as in upstream GitLab. In particular, they are Git repositories.
The problem encountered is that their default GitLab branch (target of the HEAD
symbolic reference) is main
but the actual branch with content is branch/default
. Preferred fix should be not to interfere with GitLab and use whatever it considers the default default branch to be.
Could simply be that we have a hardcoded check on master
.