Skip to content

Resolve "Return how many commits the source branch is behind the target branch through the API"

🙈 jacopo beschi 🙉 requested to merge 36534-show-commit-behind-mr-api into master

What does this MR do?

Adds diverged_commits_count field to GET api/v4/projects/:project_id/merge_requests/:merge_request_iid

The field is optional and returned only if diverged_commits_count is true; the default value is false.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #36534 (closed)

Edited by 🙈 jacopo beschi 🙉

Merge request reports