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: existence of curr_branch is assumed as a git repo #15

Open
BYK opened this issue Jan 25, 2018 · 0 comments
Open

Bug: existence of curr_branch is assumed as a git repo #15

BYK opened this issue Jan 25, 2018 · 0 comments

Comments

@BYK
Copy link

BYK commented Jan 25, 2018

I'm using both Git and Mercurial and getting fatal: Not a git repository error when I'm inside Mercurial repos. Looks like the reason is https://github.com/santagada/xontrib-powerline/blob/master/xontrib/powerline.xsh#L67 assuming curr_branch always being a Git repository, which is not the case.

I'm willing to submit a PR to fix this.

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

No branches or pull requests

1 participant