Skip to content

Fix MergeRequest#has_commits? nil comparison

What does this MR do?

Ensure that commits_count is not null before using it in has_commits?.

What are the relevant issue numbers?

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

Does this MR meet the acceptance criteria?

Merge request reports