diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-10-15 16:18:21 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-10-15 16:18:21 +0000 |
commit | 3c15a20ba33b076eabca0335f91065e7cbe2d08b (patch) | |
tree | 04252c2488c67f15b89d36a425c8b862cc466a06 /doc/api | |
parent | 422715b2248535be9521c6499b94090ac90b394c (diff) | |
parent | 71d71afb3ac5f302470e66ace4f59e247249d99e (diff) | |
download | gitlab-ce-3c15a20ba33b076eabca0335f91065e7cbe2d08b.tar.gz |
Merge branch 'bvl-merge-base-multiple-revisions' into 'master'
Allow getting the merge base of multiple revisions
Closes #52573
See merge request gitlab-org/gitlab-ce!22295
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/repositories.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index a4fdeca162e..f5ac3816fe5 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -216,7 +216,7 @@ GET /projects/:id/repository/merge_base | Attribute | Type | Required | Description | | --------- | ---- | -------- | ----------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) | -| `refs` | array | yes | The refs to find the common ancestor of, for now only 2 refs are supported | +| `refs` | array | yes | The refs to find the common ancestor of, multiple refs can be passed | ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/merge_base?refs[]=304d257dcb821665ab5110318fc58a007bd104ed&refs[]=0031876facac3f2b2702a0e53a26e89939a42209" |