GitLab shows tag instead of branch if tag and branch have the same name
GitLab shows strange behavior when a tag and a branch have the same name. I have a Git repo with a somename branch and a somename tag:
a589d6d (HEAD -> somename, origin/somename) Branch
7a64f24 (tag: somename, master) Tag target
d7ac61b Initial commit
In the "Switch branch/tag" dropdown, both the tag and the branch are selected. Since these point to different commits, I expect only one to be selected.
When I click the "somename" branch, GitLab instead shows the "somename" tag, as can be seen from the commit message. I expect it to show the "somename" branch, with the commit message "Branch" instead of "Tag target".

