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

Deleting submodule with '.' in the path breaks .gitmodules

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 1.6
    • 1.6.0.1
    • None
    • None

      Steps to reproduce

      1. Create a submodule in SourceTree with '.' in the path eg:
        [submodule "test.submodule"]
                path = test.submodule
                url = http://kahloun.foong@localhost:7990/scm/tst/stash.git
        
      2. Right click on the submodule name in SourceTree and select 'delete'
      3. An error will occur (refer to screenshot) and the .gitmodule file is corrupted:
                path = test.submodule
                url = http://kahloun.foong@localhost:7990/scm/tst/stash.git
        [submodule "tes"]
        submodule}.url=(null)
        submodule}.path=(null)
        

      This happen to SourceTree for Windows 0.9.2.2 too

          Form Name

            [SRCTREE-1607] Deleting submodule with '.' in the path breaks .gitmodules

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: