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
Closed

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

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

Comments

@sm-g
Copy link

@sm-g sm-g commented Apr 8, 2019

Fork_2019-04-08_17-21-55

after checkout any commit without branch

@DanPristupov
Copy link
Contributor

@DanPristupov DanPristupov commented Apr 8, 2019

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

Loading

@jerone
Copy link

@jerone jerone 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.

Loading

@sm-g
Copy link
Author

@sm-g sm-g commented Apr 10, 2019

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

Loading

@DanPristupov
Copy link
Contributor

@DanPristupov DanPristupov commented Apr 10, 2019

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

Loading

@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
Copy link

@jerone jerone commented May 13, 2019

Sorry, forgot to confirm. It's confirmed 👍

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants