Skip to content
Snippets Groups Projects
Closed webui doesn't allow to select a custom commit id to compare
  • View options
  • webui doesn't allow to select a custom commit id to compare

  • View options
  • Closed Issue created by username-removed-120685

    Summary

    Since I upgraded from gitlab 8.10.6 to 8.12.6 the compare section in the webui doesn't allow to select a custom commit id. Only a branch can be selected.

    Steps to reproduce

    go to project >> repository >> compare . The help message says "Fill input field with commit id like 4eedf23 or branch/tag name like master" but the input field only allows to select a branch

    Expected behavior

    The input fields should allow to select a custom commit id

    Results of GitLab environment info

    [root@git ~]# gitlab-rake  gitlab:env:info
    
    System information
    System:		CentOS 6.6
    Current User:	git
    Using RVM:	no
    Ruby Version:	2.3.1p112
    Gem Version:	2.6.6
    Bundler Version:1.13.2
    Rake Version:	10.5.0
    Sidekiq Version:4.1.4
    
    GitLab information
    Version:	8.12.6
    Revision:	fa20b51
    Directory:	/opt/gitlab/embedded/service/gitlab-rails
    DB Adapter:	postgresql
    URL:		https://domain.com
    HTTP Clone URL:	https://domain.com/some-group/some-project.git
    SSH Clone URL:	ssh://git@domain.com:2222/some-group/some-project.git
    Using LDAP:	yes
    Using Omniauth:	no
    
    GitLab Shell
    Version:	3.6.1
    Repository storage paths:
    - default: 	/var/opt/gitlab/git-data/repositories
    Hooks:		/opt/gitlab/embedded/service/gitlab-shell/hooks/
    Git:		/opt/gitlab/embedded/bin/git
    You have new mail in /var/spool/mail/root

    Extra notes

    If I manually generate the url containing a commit id it works. e.g. https://domain.com/project/repository/compare?from=096b820dd6b14b7fc9d2c9eee6093447e69bb15d&to=branchName

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading