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

Sourcetree crash on invalid path in .gitconfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 3.0.17
    • Git
    • Severity 3 - Minor

      Steps to Reproduce

      1. Open your global .gitconfig
      2. Make an invalid value (e.g. unescaped slash in `excludesfile` like "%userprofile%\global.gitignore")
      3. Attempt to open Sourcetree
      4. Whatever repositories were open before have been closed, shows repository list with refresh icon next to each
      5. Attempt to open a repository, BugSplat crash reporter appears
      6. Fix invalid value in global .gitconfig
      7. Opening Sourcetree and the repository works

      Workaround

      Manually edit the config file

              Unassigned Unassigned
              mminns minnsey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: