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

Hide HEAD branches by default #177

Closed
Turbo87 opened this issue Dec 13, 2017 · 4 comments
Closed

Hide HEAD branches by default #177

Turbo87 opened this issue Dec 13, 2017 · 4 comments
Labels

Comments

@Turbo87
Copy link

Turbo87 commented Dec 13, 2017

The HEAD "branches" (HEAD, origin/HEAD, ...) are usually just adding noise to the history graph unless they are in detached HEAD mode. I would like to propose to hide the HEAD branches if there is at least one other branch pointing at the same commit.

@DanPristupov
Copy link
Contributor

DanPristupov commented Dec 13, 2017

@Turbo87 thank you for reminding me. I agree. I used to hide origin/HEAD, but if it's visible again it's probably a bug. Will have a look.

Actually [remote]/head is the only HEAD branch which can appear, right?

Please note that there is an exception when repo is in detached head state, which is a feature (more info here #107).

@Turbo87
Copy link
Author

Turbo87 commented Dec 13, 2017

yeah, I saw #107 and that absolutely makes sense to me. I'm actually seeing upstream/HEAD right now, not sure about origin/HEAD, but IMHO the name of the remote shouldn't make a difference.

@Turbo87
Copy link
Author

Turbo87 commented Dec 13, 2017

note that I'm using git clone --origin=upstream by default which is probably be the reason I'm seeing upstream/HEAD

@DanPristupov
Copy link
Contributor

This should be done in 1.0.61

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

No branches or pull requests

2 participants