diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-02 03:11:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-02 03:11:26 +0300 |
commit | 30b8ad35feb7efb0587f44d8e7b371490634ee1c (patch) | |
tree | ebd11699a7e27c6e01aaa8d9ba72e64fe356ae61 /doc/api/merge_requests.md | |
parent | 11b7785066d3e81916cbf653f4eb6568148f7e01 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/merge_requests.md')
-rw-r--r-- | doc/api/merge_requests.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index b3647131ec8..60fdd34ebc0 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -44,7 +44,10 @@ is fetched from its project, `relative` format would be the same as `short` form diffs associated with the set of changes have the same size limitations applied as other diffs returned by the API or viewed via the UI. When these limits impact the results, the `overflow` field contains a value of `true`. Diff data without these limits applied can be retrieved by -adding the `access_raw_diffs` parameter, but it is slower and more resource-intensive. +adding the `access_raw_diffs` parameter, accessing diffs not from the database but from Gitaly directly. +This approach is generally slower and more resource-intensive, but isn't subject to size limits +placed on database-backed diffs. [Limits inherent to Gitaly](../development/diffs.md#diff-limits) +still apply. ## List merge requests @@ -846,7 +849,7 @@ Parameters: |----------------------------------|----------------|----------|------------------------------------------------------------------------------------------------------------------| | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user. | | `merge_request_iid` | integer | yes | The internal ID of the merge request. | -| `access_raw_diffs` | boolean | no | Retrieve change diffs without size limitations. | +| `access_raw_diffs` | boolean | no | Retrieve change diffs via Gitaly. | ```json { |