• Altreus
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    6 months ago

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

    • MajorHavoc@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 months 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
        fedilink
        English
        arrow-up
        3
        ·
        6 months ago

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