Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-5654

Switching branch does not update submodules

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • Git
    • Windows 10, external Git 2.8.1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Let's say branch A and branch B. In branch A there's no submodule, and in branch B there is one submodule. It doesn't matter where it is or what it's called.

      Switching to branch B (with submodule) updates it and all's fine and dandy.

      Switching back to branch A (does NOT contain that submodule), the submodule does not get deleted from the filesystem. It's as if it's always been there.

      If I then delete the submodule manually, ST does not detect a change, which is correct. So why does ST not delete a submodule that isn't supposed to be there anymore?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bd35baa1d4b9 Martijn Saly
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: