-
- Downloads
Increase diff limits to 100 KB for collapse and 200 KB overall
This is controlled with the feature flag gitlab_git_diff_size_limit_increase. Both of these limits were basically picked arbitrarily in the first place; disabling the feature flag reverts to the old limits.
Showing
- changelogs/unreleased/31983-increase-merge-request-diff-file-size-limit-for-default-toggle-opening.yml 4 additions, 0 deletions...quest-diff-file-size-limit-for-default-toggle-opening.yml
- lib/feature.rb 12 additions, 0 deletionslib/feature.rb
- lib/gitlab/git/diff.rb 21 additions, 9 deletionslib/gitlab/git/diff.rb
- spec/features/expand_collapse_diffs_spec.rb 5 additions, 12 deletionsspec/features/expand_collapse_diffs_spec.rb
- spec/features/merge_requests/conflicts_spec.rb 1 addition, 1 deletionspec/features/merge_requests/conflicts_spec.rb
- spec/features/projects/compare_spec.rb 1 addition, 0 deletionsspec/features/projects/compare_spec.rb
- spec/lib/gitlab/git/diff_collection_spec.rb 2 additions, 1 deletionspec/lib/gitlab/git/diff_collection_spec.rb
- spec/lib/gitlab/git/diff_spec.rb 34 additions, 4 deletionsspec/lib/gitlab/git/diff_spec.rb
Please register or sign in to comment