Fix an issue when the target branch of a MR had been deleted
Before displaying the "diverged commits" note, we're checking if the MR is open, but we should check if it's mergeable instead because this check ensure the source and target branches exist. This was introduced by !2217 and fixes #14388.
Showing
Please register or sign in to comment