Skip to content

WIP: Display empty files properly on MR diffs

Sean Nichols requested to merge (removed):ee-54786-mr-empty-file-display into master

Related: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23671

What does this MR do?

Adds an "Empty file" message to empty files in the updated merge request diff UI.

gitlab-ce-mr-empty-file-fix

I could not see a path to support this feature without adding an addition field to Gitlab::Diff::File. This is my first time working with the GitLab source and I'd love to hear any suggestions for improvements!

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54786

Does this MR meet the acceptance criteria?

Edited by Sean Nichols

Merge request reports

Loading