Skip to content

Fix MergeRequestService erroring out on deleted branch

Stan Hu requested to merge sh-fix-refresh-service-deleted-branch into master

When a branch is deleted, the push commit IDs is an empty array. The previous change would attempt to call [].exists?, which is invalid. Fix this by returning MergeRequestDiffCommit.none instead.

Closes #53853 (closed)

Merge request reports

Loading