Add a safeguard in MergeRequest#compute_diverged_commits_count
We have to ensure source_sha and target_sha are not nil before calling Gitlab::Git::Commit.between.
Showing
Please register or sign in to comment
We have to ensure source_sha and target_sha are not nil before calling Gitlab::Git::Commit.between.