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

"Amend latest commit" commits unselected files in stage index

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.4.3
    • None
    • None
    • None

      Intended action:
      Amend the commit message for the last commit.

      Steps to reproduce:

      1. Make a commit for some changes
      2. Put at least one other change in the stage index
      3. Select "Commit" from the toolbar
      4. Select "Amend latest commit" in the lower left corner of the commit dialog
      5. Select "Selected files" for Commit mode
      6. Unselect all files
      7. Change commit message
      8. Press "Commit"

      Result:
      All files in the stage index are committed along with the changed commit message. The stage index is empty.

      Expected Result:
      Changed commit message for the last commit and unchanged stage index.

            [SRCTREE-1018] "Amend latest commit" commits unselected files in stage index

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JAC Bug Workflow v3 [ 3370836 ] New: SRCTREE JAC Bug Workflow [ 3735956 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: SourceTree Bug Workflow [ 383309 ] New: JAC Bug Workflow v3 [ 3370836 ]
            Brian Ganninger (Inactive) made changes -
            Assignee Original: Steve Streeting [ sstreeting ]
            Steve Streeting (Inactive) made changes -
            Fix Version/s New: 1.4.3 [ 26223 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]
            Malik Mangier (Inactive) created issue -

              Unassigned Unassigned
              mmangier Malik Mangier (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: