Needs and benefits
GitHub Compare API provides additional data in the response when compared to Forgejo. This breaks some actions that depend on it.
Feature Description
This would be a continuation of #5991 where the API was extended to support commits between commit hashes.
Github response parts (marked if currently implemented):
Screenshots
No response
### Needs and benefits
[GitHub Compare API](https://docs.github.com/en/rest/commits/commits?apiVersion=2022年11月28日#compare-two-commits) provides additional data in the response when compared to Forgejo. This breaks some actions that depend on it.
### Feature Description
This would be a continuation of https://codeberg.org/forgejo/forgejo/pulls/5991 where the API was extended to support commits between commit hashes.
Github response parts (marked if currently implemented):
- [ ]: url
- [ ]: html_url
- [ ]: permalink_url
- [ ]: diff_url
- [ ]: patch_url
- [ ]: base_commit
- [ ]: merge_base_commit
- [x]: commits
- [ ]: status
- [ ]: ahead_by
- [ ]: behind_by
- [x]: total_commits
- [ ]: files
### Screenshots
_No response_