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

not support bare repository #291

Closed
Aimeast opened this issue Jun 26, 2016 · 2 comments
Closed

not support bare repository #291

Aimeast opened this issue Jun 26, 2016 · 2 comments

Comments

@Aimeast
Copy link

Aimeast commented Jun 26, 2016

Hi, sometimes in server side we need manage bare repository, but when I <cd> to xx.git folder, no state display, posh-git not working in bare repository.

@dahlbyk
Copy link
Owner

dahlbyk commented Jan 16, 2017

I know this worked once upon a time, but I'm pretty sure it has been broken since 0dc174d.

@rkeithhill rkeithhill self-assigned this Jan 16, 2017
@rkeithhill rkeithhill added this to the v0.7 milestone Jan 16, 2017
@rkeithhill
Copy link
Collaborator

@dahlbyk I'm looking at that commit. Is there a reason why this was changed to not use git rev-parse --git-dir? I'm tempted to just change the code back perhaps with a resolve-path thrown in i.e. if you are in the root of a bare repo that git command returns ..

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

No branches or pull requests

3 participants