Removed branch link in pipelines page is broken
Summary
Link to the branch is broken in pipelines view, when it was deleted (merged).
Steps to reproduce
Open pipeline of branch that was removed, for example for accepted Merge Request (which removed the branch). Click on the link of the branch it was run against and you get an error.
Example Project
Any merge request, including here.
Here is one of the recent accepted changes:
https://gitlab.com/gitlab-org/gitlab-ce/pipelines/11921175
and link to a branch:
https://gitlab.com/gitlab-org/gitlab-ce/commits/revert-feature-highlight
What is the current bug behavior?
404
- page not found
What is the expected correct behavior?
Show branch name without link. This keeps consistency with how the branch name is displayed in merge requests:
Edited by Taurie Davis