Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why does /commits/develop?exclude=master returns only 1 commit?

Dmitrij Kultasev September 18, 2018

In the Bitbucket API documentation it is stated:

GET /repositories/{username}/{repo_slug}/commits/dev?exclude=master

Returns all commits on ref dev, except those that are reachable on master (similar to git log dev ^master).

git log returns expected result, but the API returns only the latest commit from the develop branch.

UPDATE:

It's not an exclude problem if I pass call like "/commits/develop" it returns 1 commit also.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events