Branch name is lost if I change commit mode in Web IDE
Summary
Branch name is lost if I change commit mode in Web IDE
Steps to reproduce
- Create a new project
- Initialize the repository with a README to create the
master
branch - Open the Web IDE
- Add a new file
- Click "Commit"
- Select to "create a new branch"
- Add a new branch name
- Select "Commit to master branch"
- Reselect to "create a new branch"
- Notice that the branch name entered is now missing
Example Project
What is the current bug behavior?
Branch name is lost
What is the expected correct behavior?
Branch name should be persisted and reinstated upon reselecting that option
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
reproduced on GitLab.com 11.8.0
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)