Cherry Pick on forked repository ignores selected branch
Summary
The cherry-pick function ignores the selected branch to use in the modal dialog on 8.11.2 if the repository is forked
Steps to reproduce
- Fork a repo to different group, make a couple of branches, commit changes from Branch A, open a commit to cherry-pick to Branch B
- after accepting the branch selecting you check you want a merge request
- the branch has been reset to where you originally forked from
Expected behavior
- The branch you selected from the modal should appear
Actual behaviour
- Branch selection digs up your original fork.
Possible fixes
When using a fork and creating merge requests, there is the dropdown for the repo itself - that is missing from the modal box - maybe this is the issue?