gitbutler
gitbutler copied to clipboard
Un-applied virtual branch with default name is clobbered when creating a new virtual branch in workspace
Steps to reproduce
- Create branch and leave the name as default "Virtual branch"
- make and commit some changes
- unapply the branch
- create a new virtual branch
- observe that old changes are lost
Version
0.12.27
Platform
Linux, AppImage
Thanks a lot for reporting - I could easily reproduce this dangerous issue.
It's notable that the oplog contains all the changes, so it's possible to revert to a previous, good state.
Above it's also visible that it deleted the previous branch, before creating a new one with the same name.
CC @Caleb-T-Owens
Thanks for noting the oplog. Let me know if there is any further information I can provide!