Skip to content

Remove unnecessary target branch link from MR page in case of deleted target branch

What does this MR do?

Adds link_to_if helper on target branch link on Merge Request show page for case of deleted target branch. Adds spec on case descripted in #24507 (closed)

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

See #24507 (closed)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes #24507 (closed)

Merge request reports