Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un- and re-applying a virtual branch does not save manually set branch name #4831

Open
eproxus opened this issue Sep 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions

Comments

@eproxus
Copy link

eproxus commented Sep 5, 2024

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

  1. Create a virtual branch (with a commit)
  2. Set a different remote branch name for it than the auto-generated one
  3. Push the branch
  4. Unapply the virtual branch
  5. Apply it again
  6. Note that the remote branch name is wrong (should be the manually set one, not auto generated)
  7. 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

@eproxus eproxus added the bug Something isn't working label Sep 5, 2024
@Byron
Copy link
Collaborator

Byron commented Sep 5, 2024

Thanks a lot for reporting!

Let me interpret @mtsgrd 'thumbs up' as 'reproduced' :).

@Byron Byron added the 🎉reproduced🎉 The issue could be reproduced by following the instructions label Sep 5, 2024
@estib-vega estib-vega self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions
Projects
None yet
Development

No branches or pull requests

3 participants