Skip to content

Collapsed diffs lines/size don't accumulate to overflow diffs.

Paco Guzman requested to merge 19820-safer-diffs into master

What does this MR do?

Reduce the number of lines that we highlight on big diffs to try to reduce the degradation introduced by !4990 (merged) as you can see on the issue description #19820 (closed) .

We collapse any files after the diff is over the number of safe files (100), or over the safe lines (500) or over the safe number of bytes (5KB x 100 files).

We still need to bump the gitlab_git and point this branch to the new gitlab_git version.

What are the relevant issue numbers?

Closes #19820 (closed) Closes #19885 (closed)

Does this MR meet the acceptance criteria?

Merge request reports