Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-800

branch has undesirable commit pattern for git

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.3.2
    • None
    • branch, Git
    • None

    Description

      The branch mojo commits as follows if you ask for a new version on the branch and not in the working copy:

      1. edit the new version into the working copy
      2. commit
      3. branch
      4. do a 'git revert' to undo the change

      This results in a weird history. Better would be:

      1. checkout -b as it were to make new branch
      2. edit to put new version in new branch
      3. commit on new branch

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: