Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support files property in git diff between two commits #283

Open
keyonghan opened this issue Dec 6, 2021 · 1 comment
Open

Support files property in git diff between two commits #283

keyonghan opened this issue Dec 6, 2021 · 1 comment

Comments

@keyonghan
Copy link
Contributor

The current compareCommits does git diff between two commits, but returns only limited comparison results:
https://github.com/SpinlockLabs/github.dart/blob/master/lib/src/common/model/repos.dart#L9-L14

Based on api: https://docs.github.com/en/rest/reference/repos#compare-two-commits, files property plays an important role in determining what files are changed. However it is missing in the above compareCommits function.

Our use case is git diff between two commits and need to know if one is the revert of the other.

@github-actions
Copy link

github-actions bot commented Dec 6, 2021

👋 Thanks for reporting! @robrbecker will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant