-
-
Notifications
You must be signed in to change notification settings - Fork 414
feat: add sha256 feature to gix-commitgraph
#2377
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
base: main
Are you sure you want to change the base?
feat: add sha256 feature to gix-commitgraph
#2377
Conversation
|
Thanks a lot, I am looking forward to sorting this out! There is also #2378, hopefully done in the next couple of days (it might conflict). |
|
Thanks a lot for starting this! This crate is special as it's the first one that parses a file-format that changes depending on the hash kind. It seems like one commit currently in the |
|
Assuming you’re referring to the one adding Apart from that, my plan is to go through the tests and, for every tests that currently uses |
Yes, that's the one, thanks 🙏.
Sorry for the confusion, that's the way. The only thing tests have to do is to actively set all hashes using feature toggles, and they should just set sha1/sha256 while they are at it. Once a crate has been converted, the tests should automatically test both hashes, and make sure they are compiled in. |
bde9c33 to
7bc1409
Compare
|
I added fixtures for SHA256 hashes to |
Co-authored-by: Eliah Kagan <degeneracypressure@gmail.com>
This PR adds the
sha256feature togix-commitgraph. I opened it as a draft, so we have a space where we can discuss how to best approach testing this new feature.This PR was triggered by a comment in #2359.