• Douwe Maan's avatar
    Merge branch 'fix/14388' into 'master' · 17418461
    Douwe Maan authored
    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.
    
    See merge request !3294
    17418461
merge_request_spec.rb 14 KB