▲ 31 ▼ Git 3.0's upcoming SHA-256 default will be a costly mistake - gitbutler.com (blog.gitbutler.com) submitted 6 days ago by lemmydividebyzero@reddthat.com to c/technology@lemmy.world 9 comments fedilink hide all child comments
[–] Mihies@programming.dev 2 points 6 days ago (1 child) Where do you see that submodules won't cause headaches? permalink fedilink source parent hideshow 1 child comment replies: [–] DomeGuy@lemmy.world 5 points 6 days ago The bit about "comparability". Where do you see that they will? (I mean, aside from the original article that claimed it without evidence.) A submodule is "just" a pointer to a specific commit in an external repo. It was at one point entirely done via shell scripts, and unless I missed an update is still obnoxiously slow compared to the rest of git. I can't fathom why the SHA-256 support for submodules would do more than just treat the SHA as a foreign key.and go from there. We'd potentially be in trouble if SHA-1 support is being removed, but I don't see any reason why git would do something so stupid. (I honestly can't fathom why SHA-256 hashed commits couldn't be the children of SHA-1 commits. A bunch of reasons why you may not WANT to, but that's a separate concern that seems like it'd be outweighed by comparability.) permalink fedilink source parent
[–] DomeGuy@lemmy.world 5 points 6 days ago The bit about "comparability". Where do you see that they will? (I mean, aside from the original article that claimed it without evidence.) A submodule is "just" a pointer to a specific commit in an external repo. It was at one point entirely done via shell scripts, and unless I missed an update is still obnoxiously slow compared to the rest of git. I can't fathom why the SHA-256 support for submodules would do more than just treat the SHA as a foreign key.and go from there. We'd potentially be in trouble if SHA-1 support is being removed, but I don't see any reason why git would do something so stupid. (I honestly can't fathom why SHA-256 hashed commits couldn't be the children of SHA-1 commits. A bunch of reasons why you may not WANT to, but that's a separate concern that seems like it'd be outweighed by comparability.) permalink fedilink source parent