summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:32:47 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 07:32:47 +0200
commitc19ad90b488edabc47e3a5a5d477a3007eecaa69 (patch)
tree4b8819adaf38888a2f519d72a1cdfd95ff4aaebf /docs/gl_objects
parent3c53f7fb8d9c0f829fbbc87acc7c83590a11b467 (diff)
downloadgitlab-c19ad90b488edabc47e3a5a5d477a3007eecaa69.tar.gz
Add commit.merge_requests() support
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/commits.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/commits.rst b/docs/gl_objects/commits.rst
index d04d731..f662fcb 100644
--- a/docs/gl_objects/commits.rst
+++ b/docs/gl_objects/commits.rst
@@ -71,6 +71,10 @@ Get the references the commit has been pushed to (branches and tags)::
commit.refs('tag') # only tags
commit.refs('branch') # only branches
+List the merge requests related to a commit::
+
+ commit.merge_requests()
+
Commit comments
===============