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

[Bug] "New branch" button opens empty menu in detached HEAD #225

Closed
sm-g opened this issue Apr 8, 2019 · 5 comments

Comments

@sm-g
Copy link

commented Apr 8, 2019

Fork_2019-04-08_17-21-55

after checkout any commit without branch

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Apr 8, 2019

I can't reproduce that. Probably it's not related to an active branch.

@jerone

This comment has been minimized.

Copy link

commented Apr 10, 2019

I just had the same issue. It happens indeed when a repo is not connected to a branch. For example in a submodule, where it's connected to commits without branches.

I understand that I can't create another branch, when there is no base branch seleted. But in this case I was connected to an commit, shouldn't that be enough to create a new branch?

Or at least a friendly message, that I need to checkout a branch first.

The small menu on the left bottom side of the button is what happened to me too.

@sm-g

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

This button could work like menu item for creating branch for checkouted commit.

@DanPristupov

This comment has been minimized.

Copy link
Contributor

commented Apr 10, 2019

@jerone I just reproduced that! Looks like submodule is the cause.

@DanPristupov DanPristupov added this to the 1.32 milestone Apr 10, 2019

@DanPristupov DanPristupov changed the title [Bug] "New branch" button opens empty menu after checkout commit [Bug] "New branch" button opens empty menu in detached HEAD Apr 26, 2019

@jerone

This comment has been minimized.

Copy link

commented May 13, 2019

Sorry, forgot to confirm. It's confirmed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.