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

Output is broken when in detached head state #12

Open
BeayemX opened this issue Mar 29, 2018 · 1 comment
Open

Output is broken when in detached head state #12

BeayemX opened this issue Mar 29, 2018 · 1 comment
Labels

Comments

@BeayemX
Copy link
Owner

BeayemX commented Mar 29, 2018

No description provided.

@BeayemX BeayemX added the bug label Mar 29, 2018
@Ifynth
Copy link

Ifynth commented Nov 27, 2018

The Error shows up in the log.py file in the function show_logs. He tries to to create a list of the active repo, because it is detached it throws an error.

I Suggest to use the connection.repo.head.is_detached function to find out if the header is detached, before using the connection.repo.iter_commits function.

An Idea would be to show some text what you can do or how to get back or make a new branch out of this detached head or just print out where the attached head occurred.

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