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

Pulling from a subtree causes a crash in the command-line tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.2
    • Component/s: General, Git
    • Labels:
    • Environment:

      SourceTree-Custom (pre-release build) Version 2.5 (97)
      OS X 10.11.5 (15F34)
      two repositories hosted on a local install of BitBucket

    • Symptom Severity:
      Severity 2 - Major

      Description

      I have one repository using another as a subtree. Trying to Pull the subtree results in a crash of the command-line tool; the main SourceTree program continues to run with no obvious side-effects.

      To reproduce:

      1. Start with two repositories in BitBucket: one to act as the main project, the other to be included as a subtree. Set up one as a subtree of the other (example procedure).
      2. Open the main project repository in SourceTree. You should see the subtree connection under the Subtrees heading.
      3. Pull the subtree. The only way I’ve found to do this is via the context menu > Pull Subtree… (where’s the main menu bar command?). In the “Are you sure?“ dialog, click OK. (You can try it with or without squashing commits but for me it crashes with a similar backtrace either way.)
      4. The command-line tool crashes. If you have the OS configured to produce a crash report, that window will come up. In any case, SourceTree shows the backtrace in the command results sheet.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            htessmann1747163098 Harold Tessmann III
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: