Web GUI: Unable to create new branch from commit SHA
Summary
After upgrade to GitLab CE 9.0.0 there is no option to create a new branch from commit SHA using web GUI. Creating a new branch from other branch or tag is still possible. "Create from" field is a select with fixed list (branches, tags) and there is no option to input commit SHA. Description of "Create from" field is "Existing branch name, tag, or commit SHA".
Steps to reproduce
- go to any project,
- select "Repository" tab
- select "Branches" subtab
- click "New branch" button
- try to input commit SHA into "Create from" field
What is the current bug behavior?
There is no possibility to choose or input commit SHA. "Create from" field is a fixed list without commit SHA values.
What is the expected correct behavior?
Possibility to input any value into "Create from" field. It should behave similiar to creating new tag feature (there is a simple input, not a fixed list).
Relevant logs and/or screenshots
Output of checks
This bug happens on 9.0.0 on-premise version and on GitLab.com
Results of GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Redis Version: 3.2.5
Git Version: 2.10.2
Sidekiq Version:4.2.7GitLab information
Version: 9.0.0
Revision: cf020e66
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: https://gitlab.....
HTTP Clone URL: https://gitlab...../some-group/some-project.git
SSH Clone URL: git@gitlab.....:some-group/some-project.git
Using LDAP: yes
Using Omniauth: noGitLab Shell Version: 5.0.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)