diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-06-28 09:04:18 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-06-28 09:04:18 +0000 |
commit | 5e7988eeccd017f2948831bdaab3bbdbc2e2b544 (patch) | |
tree | cee16fdeff3c18a8bbb588e85e66d01d0ca349b1 /doc | |
parent | 687278a6dd4296ecdd61028d4ad7ea3d2b2b7df3 (diff) | |
parent | 591edb439c2608f7448d7c3d5d2fc35e0ad5e8c1 (diff) | |
download | gitlab-ce-5e7988eeccd017f2948831bdaab3bbdbc2e2b544.tar.gz |
Merge branch 'straight-comparision-mode' into 'master'
Allow straight diff in Compare API
See merge request gitlab-org/gitlab-ce!20120
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/repositories.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 5aff255c20a..cb816bbd712 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -130,6 +130,7 @@ Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user - `from` (required) - the commit SHA or branch name - `to` (required) - the commit SHA or branch name +- `straight` (optional) - comparison method, `true` for direct comparison between `from` and `to` (`from`..`to`), `false` to compare using merge base (`from`...`to`)'. Default is `false`. ``` GET /projects/:id/repository/compare?from=master&to=feature |