gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Virtual branch ref names do not update when changing the virtual branch name

Open mrenouf opened this issue 1 year ago • 3 comments

When I create a virtual branch, unless I set the branch name before interacting with the branch at all, the gitbutler refnames used never change.

Due to workflow restrictions, I need to push from the virtual branch to another virtual remote ref (Gerrit). Having all my virtual branches named "Virtual-branch-1" 2, 3, 4 is very difficult.

mrenouf avatar Feb 20 '24 15:02 mrenouf

The other bug is that the displayed virtual branch name doesn't match the refname used.

I know these are more of an internal implementation detail, but in light of other situations (like recovering lost state), having the refnames match would be give me a bit more comfort as well.

mrenouf avatar Feb 20 '24 15:02 mrenouf

Thanks for reporting!

By now, it seems all this has changed as is visible in the screenshot below. Manually named ref-names seem to work just like automatically named ones.

Screenshot 2024-04-21 at 21 02 59

Is there something else that I am not seeing? Thanks for your feedback.

Byron avatar Apr 21 '24 19:04 Byron