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

Simplify identical commit check using tree SHAs. #204

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Simplify identical commit check using tree SHAs. #204

merged 1 commit into from
Sep 7, 2023

Conversation

chrisgavin
Copy link
Contributor

This attempts to simplify the identical commit detection. Instead of doing a diff between commits, it instead uses the tree hash of all the files in both commits to determine if they are tree-same. This should be more efficient than doing a diff, and is also quite a lot simpler.

@GrantBirki GrantBirki added bug Something isn't working enhancement New feature or request labels Sep 7, 2023
@GrantBirki
Copy link
Member

@chrisgavin I can merge from here and fix up the tests 🙇

@GrantBirki GrantBirki merged commit fe51a70 into github:main Sep 7, 2023
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants