31
Git 3.0's upcoming SHA-256 default will be a costly mistake - gitbutler.com
(blog.gitbutler.com)
This is a most excellent place for technology news and articles.
Well, like it or not, they are used. And not so rarely. Now, rehashing will probably work, but it will require every project to do that. If you use more than one submodule which is not under your control, you have again mixed hashes that you can't fix easily.
Sorry for the late reply.
Again, do you have any actual evidence that SHA-256 repositories in version 3.0 won't be able to reference SHA-1 repositories as submodules?
Based on the design doc it looks like git will include both hashes during the transition, specifically to allow two-way communication with SHA-1 remotes. You may not be able to include a random stranger's SHA-1 submodule via a shallow clone, but just doing a full clone sure as heck looks like a supported usage.
https://git-scm.com/docs/hash-function-transition
I don't. If this scenario is supported, I don't see any real problem anymore.