• @Altreus
    link
    English
    6
    edit-2
    1 month ago

    Nice, came here to dunk on submodules, and find there’s no need.

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      1 month ago

      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.

      • @Altreus
        link
        English
        31 month ago

        Agreed. Haven’t yet found a use case that isn’t better handled by either build tools or “don’t do that”