Skip to content

Fix the collapsed diff when converting a symlink to a regular file

What does this MR do?

This MR fixes a bug that occurred when a symlink was converted to a regular file. An incorrect diff was rendered after expanding a collapsed diff. Please see https://gitlab.com/gitlab-org/gitlab-ce/issues/21610#note_14729605

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#21610 (closed) !6828 (merged)

Merge request reports