Closed
Description
GitHub allows base...head
diff comparison in their API action /compare and appears in their go sdk as CompareCommits with base
& head
arguments.
Bitbucket has a similar API action /diffstat and appears in their go sdk as RepositoriesUsernameRepoSlugDiffstatSpecGet with a 'spec' argument for things like 3a8b42..9ff173.
It would be great if someone will able to add this feature. My current use-case is analyzing the change-sets on each commit in CI.