• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 1.6
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      To Reproduce:

      1. At the command line, cd to an existing git repository.
      2. Create a new orphan branch (a branch with no parent) by executing 'git checkout --orphan NAME_OF_NEW_BRANCH'.
      3. Open this repository in SourceTree, e.g. by typing 'stree .'

      Actual behaviour:
      SourceTree frequently displays an error dialog with the message: "'git log' failed with code 128: FATAL: bad revision 'HEAD'." These error messages don't go away until you make an initial commit on this orphan branch.

      Expected behaviour:
      Nothing out of the ordinary.

            [SRCTREE-1292] Orphan git branches cause errors in SourceTree

            KieranA added a comment -

            Creating orphaned branches no longer causes errors to occur in ST. Do note that the branch won't be visible in the list of branches until it has been committed and that its HEAD doesn't share a common parent so will be detached in the log view.

            KieranA added a comment - Creating orphaned branches no longer causes errors to occur in ST. Do note that the branch won't be visible in the list of branches until it has been committed and that its HEAD doesn't share a common parent so will be detached in the log view.

              Unassigned Unassigned
              mmangier Malik Mangier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: