Commit dialog: Amend Last Commit in Message section unclear
What steps will reproduce the problem?
This does not report a behavioral bug.
What is the expected output? What do you see instead?
This does not report a behavioral bug.
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 2.12.0.0 and Git 2.29.2.3 on Windows 10
Please provide any additional information below.
The Commit dialog (pictured in figure 2.9 of the manual) contains an Amend Last Commit checkbox. The label itself does not make it extremely clear what this does, and to be honest I am not sure 100.0% sure, but based on the tooltip, I am guessing that by checking it, instead of creating a new commit, the "Commit" button will cause:
- The message of the previous commit to be replaced with the one in the Message field
- The changes in the checked files to be added to the contents of the previous commit.
While covering that feature in the documentation would surely help, it would also be immediately much clearer if that preference was not in the Message section, since if the above list is correct, its effect goes much beyond the message.
I recommend to:
- Rename "Amend Last Commit" to something like "Modify Previous Commit"
- Move it before the message field
- Update the button's label accordingly when the checkbox is checked (possibly to "Replace Previous Commit")