-
Notifications
You must be signed in to change notification settings - Fork 283
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 SHA256 git object format #1505
Comments
cc @Byron, is this related to gix? |
Indeed, I think here we'd have to watch out for when SHA256 is going to be the set as default so |
@AtmosphericIgnition Just curious about git's current behavior: is that config option needed for git to be able to read commits with SHA256 hashes, or just to write commits with SHA256 hashes? |
I'm not sure I understand your question. The way I understand the git documentation, the when running |
🤔 Can you report on the output of So, essentially, my question is that, if |
.git/config:
From everything I've read about this change, it seems the upstream git developers have no intention (point 3 of "Non-Goals") of making SHA1 and SHA256 object formats compatible in the same repository. |
Thanks for the research! |
Summary 💡
When trying to run Onefetch inside a git repo which uses the SHA256 object format, instead of the default SHA1, it immediately errors out:
Motivation 🔦
While the SHA256 object format is not yet used by default, it will eventually be set as the default by upstream git.
The text was updated successfully, but these errors were encountered: