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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.5.2
    • 2.5
    • General, Git
    • SourceTree-Custom (pre-release build) Version 2.5 (97)
      OS X 10.11.5 (15F34)
      two repositories hosted on a local install of BitBucket

    • Severity 2 - Major

      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.

              Unassigned Unassigned
              669dd68e54d0 Harold Tessmann III
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: