Skip to content

Merge Request file browser not showing all files

Summary

File browser in merge request does not display all changed files.

Steps to reproduce

Not sure.

Example Project

What is the current bug behavior?

Only some of the files are displayed.

What is the expected correct behavior?

The file browser should list all modified files.

Relevant logs and/or screenshots

The screenshot shows the entire list in the file browser section and on the right we can see some files that are in the MR but are not in the file browser: Screenshot_from_2020-06-05_12-20-44

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)