Close Branch commit with unticked changes still commits changes
Created originally on Bitbucket by willfarb
To reproduce:
Start: Have a working copy with some changes to files which are as-yet uncommitted. Be working on a named branch.
Open the Commit GUI.
Unselect ALL the changes, so that there are no changes to be made.
Click on the 'branch: branchname' button, and select 'Close named branch'.
Click commit.
Now, to see the issue:
Open Repository Explorer (or refresh).
Note that the most recent commit includes the deselected changes.
Current workaround:
Shelve or revert any changes before trying to close named branch.