• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.0.2
    • Git
    • None
    • Severity 2 - Major

      Reproduction:

      • Create a branch
      • In a submodule commit some changes
      • Commit the submodule commit ref change in the parent repo
      • Merge the branch into another branch
      • The merge commit contains the correct submodule commit ref, but the submodule is currently set to the old commit ref, and is listed in the working copy changes

      TL;DR: When merging a branch with submodule changes, we always have to reset the submodule afterwards.

            [SRCTREE-2792] After Merge Submodules are not set to the correct Commit

            I think this is not really a bug in SourceTree, Git works like this: the local Submodules are not updated automatically. Apart from "reseting" the submodule, you can just do a "git submodule update" and that fixes it as well. However, a feature of automatically updating submodules would be welcome in SourceTree for sure.

            Deleted Account (Inactive) added a comment - I think this is not really a bug in SourceTree , Git works like this: the local Submodules are not updated automatically. Apart from "reseting" the submodule, you can just do a "git submodule update" and that fixes it as well. However, a feature of automatically updating submodules would be welcome in SourceTree for sure.
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JAC Bug Workflow v3 [ 3372620 ] New: SRCTREE JAC Bug Workflow [ 3737673 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: SourceTree Bug Workflow [ 759030 ] New: JAC Bug Workflow v3 [ 3372620 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Manju made changes -
            Remote Link New: This issue links to "Test › SourceTree › SRCTREE-2792-address-xcode9-issues (mobile-bamboo)" [ 363385 ]
            jonah (Inactive) made changes -
            Symptom Severity New: Major [ 14431 ]
            Fabian Ehrentraud created issue -

              Unassigned Unassigned
              6685795f6817 Fabian Ehrentraud
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated: