Discard changes mistakenly discards changes that are already staged
- Start gitg
- Open a repo
- Modify a file
- Stage your modifications
- Make more modifications
- Right-click the file and hit "Discard changes"
Expected result:
It discards all changes since the file was staged.
Actual result: It discards all changes, including the already staged changes. Note that the changes remain staged, so there is no loss of data, but it's still very annoying.