summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-02-08 12:25:08 +0000
committerSean McGivern <sean@gitlab.com>2018-02-08 12:25:08 +0000
commit1ac22dba519535b18cc14a12b7bbda1b5d28e26a (patch)
treef6fc6dae8ee02998b845f1c1d7957963c8e1c736 /doc
parent828357fb828fc2d07b201f4f97f22ef964ab6a89 (diff)
downloadgitlab-ce-1ac22dba519535b18cc14a12b7bbda1b5d28e26a.tar.gz
Add docs for MR link in commit pagedocs-for-commits-linking-to-mrs
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/merge_requests/index.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/user/project/merge_requests/index.md b/doc/user/project/merge_requests/index.md
index aa3266cb457..769aad77da1 100644
--- a/doc/user/project/merge_requests/index.md
+++ b/doc/user/project/merge_requests/index.md
@@ -146,6 +146,19 @@ administrator to do so.
![Create new merge requests by email](img/create_from_email.png)
+## Find the merge request that introduced a change
+
+> **Note**: this feature was [implemented in GitLab 10.5](https://gitlab.com/gitlab-org/gitlab-ce/issues/2383).
+
+When viewing the commit details page, GitLab will link to the merge request (or
+merge requests, if it's in more than one) containing that commit.
+
+This only applies to commits that are in the most recent version of a merge
+request - if a commit was in a merge request, then rebased out of that merge
+request, they will not be linked.
+
+[Read more about merge request versions](versions.md)
+
## Revert changes
GitLab implements Git's powerful feature to revert any commit with introducing
@@ -160,7 +173,7 @@ of merge request diff is created. When you visit a merge request that contains
more than one pushes, you can select and compare the versions of those merge
request diffs.
-[Read more about the merge requests versions.](versions.md)
+[Read more about merge request versions](versions.md)
## Work In Progress merge requests