Prune large patches by default when enforcing limits
We used to prune large patches by default on Rugged.
Additionally, we also persist a too_large
column on merge_request_diff_files
on GitLab.
Now that the limitations are being fully applied on Gitaly, we can't know whether it's a large pruned patch, or just an empty diff on GitLab side. So this MR also adds the TooLarge
field to the RPC.
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/49907
Edited by GitLab Release Tools Bot