gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Do not remove empty "Default branch" when Updating

Open koppor opened this issue 1 year ago • 1 comments

Version

0.12.16

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

"Do not remove empty "Default branch" when Updating

How to reproduce

  1. Create a new virtual branch
  2. Set it as default
    image
  3. Click on refresh:
    image
  4. See branch gone
    image

Expected behavior

Default branch kept as it is for collecting things.

Relevant log output

No response

koppor avatar Aug 29 '24 07:08 koppor

Thanks a lot for reporting!

Using GB Nightly Version 0.5.702 (20240829.101052) I could reproduce it by following the steps. Clicking refresh, what's marked as just now in the pictures above didn't do the trick, but clicking Update reproduced the issue.

I only had a single empty default virtual branch that what gone afterwards, while the pictures show that maybe it would have removed all empty virtual branches.

And indeed, it will remove all empty virtual branches after the update.

Byron avatar Aug 29 '24 11:08 Byron