Skip to content

Only check LFS integrity for first branch in push

James Edwards-Jones requested to merge jej/fix-slow-lfs-object-check into master

What

Limits lfs_objects_exist_check to one change per push

EE counterpart in gitlab-org/gitlab-ee!4547

Why

We call ChangeAccess once for each branch in a push. When doing a git push --all this can be too much for a slow check such as this one.

Does this MR meet the acceptance criteria?

Related

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/41141

Edited by 🤖 GitLab Bot 🤖

Merge request reports