• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 2.0.2
    • Git
    • None
    • Severity 3 - Minor

      When attempting to cherry pick a merge commit, the command fails because there is no -m option specified (mainline parent number).

      Though it may not be possible to automatically determine the mainline parent for a merge commit, perhaps allowing the user to simply select the mainline from one of the parents of the merge commit may suffice.

      I think the only other place where this issue should arise is when performing a revert of a merge commit, and there is already a ticket for that issue (SRCTREEWIN-593)

            [SRCTREE-2897] Cannot cherry pick a merge commit

            ncr_jahoda added a comment -

            This is important issue as it helps cherry pick whole branch as one commit. Otherwise you have to do it from command line using -m option of git cherry-pick.

            ncr_jahoda added a comment - This is important issue as it helps cherry pick whole branch as one commit. Otherwise you have to do it from command line using -m option of git cherry-pick.

              Unassigned Unassigned
              martin.price Martin Price
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: