Create MR via tag from issue got wrong commit positon
Summary
Create MR via tag from issue got HEAD commit
Steps to reproduce
- Create an issue
- Open dropdown
Create merge request
- Type tag name
v2.0.0
intoSource
input - Submit create
- Clone new branch with
git checkout -b 1-test origin/1-test
git log
Example Project
git clone git@gitlab.com:waitingsong/testing.git
git fetch origin
git checkout -b 1-test origin/1-test
git log
What is the current bug behavior?
Output:
commit c78519f4780f1bbddeeab35bbbc68a10716905fa (HEAD -> 1-test, tag: v3.0.0, origin/master, origin/1-test, master)
What is the expected correct behavior?
Should blow is latest:
commit 16a600a6257d800099d1919d3695cea2ccfa2eb7 (tag: v2.0.0)
Output of checks
This bug happens on GitLab.com