Prevent skipped commits on large Merge Requests
What does this MR do?
The analyzer attempts to deepen clones for MRs to pull all the commits for the branch, but a shallow clone will not have enough information to do this accurately. This leads to incorrect results for large branches. (See gitlab-org/gitlab#427641.) This MR fetches all remaining commits for the branch to ensure a correct git range.
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests updated/added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Morgan Delagrange