summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-02-08 15:54:48 +0000
committerIan Baum <ibaum@gitlab.com>2018-02-12 11:19:53 -0600
commitc2b09a648542017cb54d35924e47217c42de6cb8 (patch)
tree399b2d9e50c98bc5351dee4393f0557ca8182616
parent23501137a6b15acd70fceda20267b8db1cde89b5 (diff)
downloadgitlab-ce-c2b09a648542017cb54d35924e47217c42de6cb8.tar.gz
Merge branch 'docs-for-commits-linking-to-mrs' into 'master'
Add docs for MR link in commit page See merge request gitlab-org/gitlab-ce!16994
-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 1658307ef81..0de89f90e21 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