debian-mirror-gitlab/doc/user/admin_area/diff_limits.md
2021-02-22 17:27:13 +05:30

1.8 KiB

stage group info type
Create Source Code To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments reference

Diff limits administration (CORE ONLY)

You can set a maximum size for display of diff files (patches).

For details about diff files, View changes between files.

Maximum diff patch size

Diff files which exceed this value will be presented as 'too large' and won't be expandable. Instead of an expandable view, a link to the blob view will be shown.

Patches greater than 10% of this size will be automatically collapsed, and a link to expand the diff will be presented.

NOTE: Merge requests and branch comparison views will be affected.

WARNING: This setting is experimental. An increased maximum will increase resource consumption of your instance. Keep this in mind when adjusting the maximum.

  1. Go to Admin Area > Settings > General.
  2. Expand Diff limits.
  3. Enter a value for Maximum diff patch size, measured in bytes.
  4. Click on Save changes.