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

'Current Branch' log filter on detached HEAD causes git error

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 1.9.5
    • 1.9.4.1
    • Git
    • None

      Once in a detached HEAD state, SourceTree stops showing any of the commits in the log and displays a alert window stating 'git log' failed with code 128:'fatal: bad revision '(detached from 1a88246)'.

      Version is 1.9.4.1.

          Form Name

            [SRCTREE-2475] 'Current Branch' log filter on detached HEAD causes git error

            Jan Brucek added a comment -

            Awesome, thanks for the fix.

            Jan Brucek added a comment - Awesome, thanks for the fix.

            From the next update this won't throw an error, and you'll just get the log from HEAD backwards.

            Steve Streeting (Inactive) added a comment - From the next update this won't throw an error, and you'll just get the log from HEAD backwards.

            Can reproduce with a detached HEAD and the Current Branch log filter. We may have to flip you back to All Branches in this case.

            Steve Streeting (Inactive) added a comment - Can reproduce with a detached HEAD and the Current Branch log filter. We may have to flip you back to All Branches in this case.

            Seems to be happening in the (detached from FETCH_HEAD) or Current branch views.

            When I select the All Branches view, it actually renders properly.

            Jan Brucek added a comment - Seems to be happening in the (detached from FETCH_HEAD) or Current branch views. When I select the All Branches view, it actually renders properly.

              Unassigned Unassigned
              beee071fb5da Jan Brucek
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: