gitbutler
gitbutler copied to clipboard
Un- and re-applying a virtual branch does not save manually set branch name
Version
0.12.23 (20240903.112227)
Operating System
Mac OS X
Distribution Method
dmg (Apple Silicon)
Describe the issue
Creating a virtual branch, setting a specific (different) branch name and pushing it, unapplying it and the pushing again will create a new branch with an auto-generated name instead of using the old set name.
How to reproduce
- Create a virtual branch (with a commit)
- Set a different remote branch name for it than the auto-generated one
- Push the branch
- Unapply the virtual branch
- Apply it again
- Note that the remote branch name is wrong (should be the manually set one, not auto generated)
- At this stage, if a push is performed a new duplicate branch will be pushed with the wrong name
Expected behavior
GitButler should remember the set branch name.
Relevant log output
No response
Thanks a lot for reporting!
Let me interpret @mtsgrd 'thumbs up' as 'reproduced' :).