I am trying to get the diff between two tags with this api: GET /projects/:id/repository/commits/:sha/diff
Say I have these tags:
tag1
tag2
tag3
tag4
If I do
GET /projects/:id/repository/commits/tag2/diff
the api returns the diff between tag1 and tag2, similar to “git diff tag1 tag2”. How do I use the api to perform “git diff tag1 tag3” or “git diff tag1…tag2”?