Open BYK opened 6 years ago
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.
fatal: Not a git repository
curr_branch
I'm willing to submit a PR to fix this.
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 assumingcurr_branch
always being a Git repository, which is not the case.I'm willing to submit a PR to fix this.