Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
d072cd15
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d072cd15
编写于
5月 30, 2019
作者:
A
Achilleas Pipinellis
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'docs/ssot-diff-limits' into 'master'
Update diff_limits.md See merge request gitlab-org/gitlab-ce!28459
上级
2d4df0aa
0daa8c12
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
30 addition
and
11 deletion
+30
-11
doc/user/admin_area/diff_limits.md
doc/user/admin_area/diff_limits.md
+30
-11
未找到文件。
doc/user/admin_area/diff_limits.md
浏览文件 @
d072cd15
---
type
:
reference
---
# Diff limits administration
You can set a maximum size for display of diff files (patches).
## 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:
**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.
This setting is experimental. An increased maximum will increase resource
consumption of your instance. Keep this in mind when adjusting the maximum.
1.
Access
**Admin area > Settings > General**
1.
Expand
**Diff limits**
1.
Go to
**Admin area > Settings > General**
.
1.
Expand
**Diff limits**
.
1.
Enter a value for
**Maximum diff patch size**
, measured in bytes.
1.
Click on
**Save changes**
.
### Maximum diff patch size
<!-- ## Troubleshooting
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.
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Patches surpassing 10% of this content size will be automatically collapsed,
but expandable (a link to expand the diff will be presented).
Each scenario can be a third-level heading, e.g.
`### Getting error message X`
.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录