I think I found a bug about ref name
- hello, there
- i find a bug on project home page
- Discovered steps
- create a project like this
https://gitlab.com/SURA907/test-ref-name/tree/master
- push some code to branch
master
- create new branch
sura-pr, and modify some code
- create a merge request from branch
sura-pr to master
- create a new branch
refs/merge-requests/1/head
- run git ls-remoteon in local git repository
- we can see that: the ref of branch
refs/merge-requests/1/head is refs/heads/refs/merge-requests/1/head
and the ref refs/merge-requests/1/headis used to merge request(it should be a hidden ref)
-
refs/merge-requests/1/head and refs/heads/refs/merge-requests/1/head are different, they have different commit ids
- but when i open the project page to branch
refs/heads/refs/merge-requests/1/head, it show me the hidden ref refs/merge-requests/1/head