Do not need to confirm cancel out of commit when there are no changes left
What steps will reproduce the problem?
- Start a TortoiseGit commit
- See only one changed file. Remember it was a mistake. Right-click revert it.
- Now there is nothing whatsoever to commit, so hit Cancel
What is the expected output? What do you see instead?
I would like it to cancel.
It asks me to confirm that I want to cancel.
I think that confirmation ("Are you sure you want to cancel?...") is pointless, because at this point, there is really nothing else to do.
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 22.214.171.124 Windows Server 2012
Please provide any additional information below.