Git 3.0 will make SHA-256 the new default content hashing algorithm and it will be an incomprehensibly expensive and ultimately valueless and avoidable global nightmare.
If you never encountered problems with submodules you’ve maybe not worked in enough projects with several people committing to said projects and the submodules at the same time.
Nothing is unfixable but I actually don’t remember a single time where there weren’t problems.
I’ve spent multiple years (and continue to) work in that exact setup; doing rebases with nested submodules can be tricky, but that’s a rare case. Also people pushing bad refs is annoying, but you can prevent that server-side or in your own Git config.
I’ll offer that git submodules should be removed. Sorry, people using them, it was an attempt at something that didn’t work out well in practice.
score 1 · canonical
I’ve found submodules incredibly useful and have no issues with them. How has your experience been different?
score 1 · canonical
If you never encountered problems with submodules you’ve maybe not worked in enough projects with several people committing to said projects and the submodules at the same time.
Nothing is unfixable but I actually don’t remember a single time where there weren’t problems.
score 1 · canonical
I’ve spent multiple years (and continue to) work in that exact setup; doing rebases with nested submodules can be tricky, but that’s a rare case. Also people pushing bad refs is annoying, but you can prevent that server-side or in your own Git config.
score 1 · canonical