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

Crash caused by missing git dir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 1.8.2
    • None
    • None
    • Windows 10

    Description

      SourceTree crashed to desktop on startup. On looking at the sourcetree.log file (attached), I noticed this line repeated many times...
      2015-08-29T11:13:23: Could not obtain git dir, D:\Projects\Tutorial is not a git repo.
      I then created that folder and launched again without problem. Apparently it's not handling deleted folders gracefully in the FileListViewManager...
      at SourceTree.View.FileLists.FileListViewManager.DetermineIfStagingIsSupportedByDvcs(IFileListContainerViewModel parentFileListContainerViewModel) in C:\projects\bitbucket.org\atlassian\sourcetreewin-prod\SourceTree.Api.UI.Wpf\View\FileLists\FileListViewManager.cs:line 62

      Attachments

        1. sourcetree.log
          17 kB
          jbhaywood

        Issue Links

          Activity

            People

              Unassigned Unassigned
              6ff2c7ae2c03 jbhaywood
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: