Forums

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

Compare branches with cherry picks

ayushgera
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!
August 29, 2017

As far as i know, Currently the rest api offers to compare commits through:

http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/compare

But this does not take cherry-picks into account, as the commit IDs are different, and they are treated as different commits.

Whereas, git cherry command handles this, by comparing the 'diff' of a branch against the upstream. 

Do we have an api available which uses git cherry to return the response. It would be great to have one if it doesn't exist.

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events