Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2792

After Merge Submodules are not set to the correct Commit

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            6685795f6817 Fabian Ehrentraud
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: