Link a commit back to the merge request
Description
Users would like to see the code review for a particular commit by going to the merge request for that commit. Or to find out who reviewed a commit that was merged to master and the comments they made.
Currently there's no way to link a commit back to the underlying merge request. An exception is the merge commit, for e.g. https://gitlab.com/gitlab-org/gitlab-ce/commit/b071317c01866ac13802052ddbf4cf0aae2b043a
Proposal
Put a link/button on the commit page that takes the user back to the underlying merge request.
Links / references
- Requested by customer: https://gitlab.zendesk.com/agent/tickets/79619
- Related: #21866 (moved)
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
- Feature assurance
- Documentation
- Added to features.yml