Yeah. I wanted to like submodules, but submodules, to me, ended up feeling like one feature too many in git.
I mainly run into submodules that have been setup accidentally by cloning inside an existing clone. That situation is, of course, not great.
Even for the many reasonable use cases for submodules, I generally end up letting my actual package manager do the work, instead. I’m generally happier for it, since life tends to be simpler when my package manager of choice knows about any required libraries.
Yay! I have a better reason to hate submodules now, until it’s patched everywhere, at least.
Nice, came here to dunk on submodules, and find there’s no need.
Yeah. I wanted to like submodules, but submodules, to me, ended up feeling like one feature too many in
git
.I mainly run into submodules that have been setup accidentally by cloning inside an existing clone. That situation is, of course, not great.
Even for the many reasonable use cases for submodules, I generally end up letting my actual package manager do the work, instead. I’m generally happier for it, since life tends to be simpler when my package manager of choice knows about any required libraries.
Agreed. Haven’t yet found a use case that isn’t better handled by either build tools or “don’t do that”