Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
05ecf4f6
Commit
05ecf4f6
authored
Jun 30, 2021
by
Marc Shaw
Committed by
Amy Qualls
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation around diff limits
parent
d0c34b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
doc/user/admin_area/diff_limits.md
doc/user/admin_area/diff_limits.md
+6
-5
No files found.
doc/user/admin_area/diff_limits.md
View file @
05ecf4f6
...
...
@@ -21,10 +21,11 @@ consumption of your instance. Keep this in mind when adjusting the maximum.
To speed the loading time of merge request views and branch comparison views
on your instance, you can configure three instance-level maximum values for diffs:
-
**Maximum diff patch size**
: The total size, in bytes, of the entire diff.
-
**Maximum diff files**
: The total number of files changed in a diff.
-
**Maximum diff files**
: The total number of files changed in a diff. The default value is 1000.
-
**Maximum diff lines**
: The total number of lines changed in a diff. The default value is 50,000.
| Value | Definition | Default value | Maximum value |
| ----- | ---------- | :-----------: | :-----------: |
|
**Maximum diff patch size**
| The total size, in bytes, of the entire diff. | 200 KB | 500 KB |
|
**Maximum diff files**
| The total number of files changed in a diff. | 1000 | 3000 |
|
**Maximum diff lines**
| The total number of lines changed in a diff. | 50,000 | 100,000 |
When a diff reaches 10% of any of these values, the files are shown in a
collapsed view, with a link to expand the diff. Diffs that exceed any of the
...
...
@@ -35,7 +36,7 @@ To configure these values:
1.
On the top bar, select
**Menu >**
**{admin}**
**Admin**
.
1.
In the left sidebar, select
**Settings > General**
.
1.
Expand
**Diff limits**
.
1.
Enter a value for
**Maximum diff patch size**
, measured in bytes
.
1.
Enter a value for
the diff limit
.
1.
Select
**Save changes**
.
<!-- ## Troubleshooting
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment