Duplicated first line in commit view.

Summary

gitlab-ce-9.2.2-ce.0.el7.x86_64
First line doubles in repository commit view. At the same time, the file itself is displayed correctly.

Steps to reproduce

Upload new file.

What is the current bug behavior?

Doubles output of line number 1

What is the expected correct behavior?

Display only single line 1

Relevant logs and/or screenshots

doubleline

Output of checks

Results of GitLab environment 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.11.1 Sidekiq Version:5.0.0

GitLab information Version: 9.2.2 Revision: cbde95c2 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: http://git HTTP Clone URL: http://git/some-group/some-project.git SSH Clone URL: git@git:some-group/some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 5.0.4 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

Possible fixes