Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #2383

Closed
Open
Opened Aug 27, 2015 by Douwe Maan@DouweMDeveloper

Add link on commit page to merge request that introduced that commit

We can now do this relatively easily, since every MR is copied to refs/merge-requests/:iid/head, and we already have the list of branches in which a commit occurs. We can see if any refs like that are in that list, parse the IID out of there, look up the MR by IID, and link to it.

API

Design

img

uses the icon from https://gitlab.com/gitlab-org/gitlab-ce/issues/29584

icon-merge_2x

icon-merge-v2.svg

Note: This however needs backend support as described https://gitlab.com/gitlab-org/gitlab-ce/issues/2383#note_26341393

Assignee
Assign to
10.5
Milestone
10.5 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab-foss#2383