Skip to content

Unapplying local branch removes from Branches List #8384

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

Open
Ebsan opened this issue May 3, 2025 · 3 comments
Open

Unapplying local branch removes from Branches List #8384

Ebsan opened this issue May 3, 2025 · 3 comments
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions V3 The ominous upcoming major release should address this issue, eventually

Comments

@Ebsan
Copy link

Ebsan commented May 3, 2025

Version

0.14.19

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

When I unapply a branch it shows up on the list of branches. However, when I create a new lane that unapplied branch disappears. The branch is still there in the git graph but it's not showing up in GitButler for some reason. Restarting the app seems to fix this issue but it's sporadic.

Here is my git history. Both "terraform-x" branches were unapplied.
Image

Here is the gitbutler screen after restarting the app:
Image

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)

@Ebsan Ebsan added the bug Something isn't working label May 3, 2025
@Byron
Copy link
Collaborator

Byron commented May 3, 2025

Thanks a lot for reporting!

Do you mean the restarting the app fixes the issues sometimes? Or is it the issue itself that only occurs sometimes?

With that said, the issue isn't easily reproducible for me neither on Version 0.5.1199 (20250503.035046) nor on Version 0.14.19 (20250428.160452).

Is there anything else you can share to help reproducing the issue? There can be an empty repository with just the right state to reproduce it, that can also be shared here?

Thanks again.

@Byron Byron added the feedback requested Feedback was requested to help resolve the issue label May 3, 2025
@Ebsan
Copy link
Author

Ebsan commented May 3, 2025

Sure thing! I've created a barebones repo at https://github.com/Ebsan/test-gb-issue. I also recorded a video in case you can't reproduce from that repo.

Video: https://youtu.be/sEZLlCnVaxc

@Byron Byron added 🎉reproduced🎉 The issue could be reproduced by following the instructions V3 The ominous upcoming major release should address this issue, eventually and removed feedback requested Feedback was requested to help resolve the issue labels May 4, 2025
@Byron
Copy link
Collaborator

Byron commented May 4, 2025

Thanks for the video!

The missing piece seems to have been the final creation of another branch, which makes the previously unapplied branch disappear or, as it 'feels', rename itself to something else.

Fortunately, this is nothing I could reproduce in the upcoming major release, but in case there could be an obvious and easy fix for V2 let me CC @krlvi.

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 V3 The ominous upcoming major release should address this issue, eventually
Projects
None yet
Development

No branches or pull requests

2 participants