Skip to content

Automatically expand file on merge request with changes to single file

Problem

When a merge request introduces changes to a single file and that file is collapsed in diff view, it's redundant to show the top level warning and the collapsed file warning.

image

Proposal

When merge request involves 1 file only, expand by default.

Further Info

Based on findings in #259011 we may change how diff limits are distributed among files.

Edited by Daniel Gruesso