Skip to content

Use CommitDiffRequest.MaxPatchBytes instead of hardcoded limit for single diff patches

With !858 (merged) we've hardcoded the 'single diff file' byte limitation, which was previously handled on GitLab side in a SIZE_LIMIT constant.

Turns out we need to be able to send this value from GitLab in order to fix https://gitlab.com/gitlab-org/gitlab-ce/issues/50635 and work on https://gitlab.com/gitlab-org/gitlab-ce/issues/48027.

Proto MR: gitaly-proto!223 (merged)

Edited by GitLab Release Tools Bot

Merge request reports

Loading