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

In-progress cherry-picking detection + stop cherry-picking from current branch

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Triage (View Workflow)
    • Medium
    • Resolution: Unresolved
    • 1.5.7.1
    • None
    • None
    • None
    • Severity 2 - Major

    Description

      If a cherry-pick failed then it actually awaits for you to continue or abort, but we don't seem to be detecting this. The next time the user attempts to do a cherry-pick they can't continue without going to the terminal.

      Also, Git allows cherry-picking from the current branch, you should use reset for a specific revision instead for that. If you do specify a revision of a commit on your current branch it just fails and thinks it's still in progress. There must be a reason for this, but IMO it should return an error and abort the cherry-pick. Instead, the user has to manually abort from the terminal.

      error: a cherry-pick or revert is already in progress
      hint: try "git cherry-pick (--continue | --quit | --abort)"
      fatal: cherry-pick failed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ksenior KieranA
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: