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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            klfoong Foong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: