summaryrefslogtreecommitdiff
path: root/doc/user/admin_area/diff_limits.md
blob: 9205860ef1f4302b1be0d9159de03f7f7e25743e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Diff limits administration

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

CAUTION: **Caution:**
These settings are currently under experimental state. They'll
increase the resource consumption of your instance and should
be edited mindfully.

1. Access **Admin area > Settings > General**
1. Expand **Diff limits**

### Maximum diff patch size

This is the content size each diff file (patch) is allowed to reach before
it's collapsed, without the possibility of being expanded. A link redirecting
to the blob view will be presented for the patches that surpass this limit.

Patches surpassing 10% of this content size will be automatically collapsed,
but expandable (a link to expand the diff will be presented).