Whatever happened to SHA-256 support in Git?
Whatever happened to SHA-256 support in Git?
Posted Oct 4, 2023 13:44 UTC (Wed) by geert (subscriber, #98403)In reply to: Whatever happened to SHA-256 support in Git? by xnox
Parent article: Whatever happened to SHA-256 support in Git?
Yes it is. Both hashes are (eventually[*]) made from the same input.
[*] For blobs (files), this is obvious, as the hash is calculated from the file contents plus some file metadata.
For all other objects (trees, commits), the hash is calculated from tree or commit info plus hashes calculated before.
