Forums

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

why GET \commits?since=<commitId> gives commits older than the sinceCommitId param value?

nil2mahadik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 1, 2020

I am querying a REST API /commits?since=<commitId> with an expectation to get all commits after the mentioned commitId. 

This rest client works as expected for feature branches of project however for master branch where we get PullRequests merged from peer developers, this call gives some older commits also in result of this call.

My question is why so? and what could be the root cause? what are the alternatives available for me?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events