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

Display not working worktree folder #407

Closed
skeept opened this issue Feb 8, 2017 · 4 comments
Closed

Display not working worktree folder #407

skeept opened this issue Feb 8, 2017 · 4 comments
Assignees
Milestone

Comments

@skeept
Copy link
Contributor

skeept commented Feb 8, 2017

System Details

  • posh-git version: 0.7.0
  • PowerShell version: 4.0
  • git version 2.11.1.windows.1
  • OS: Microsoft Windows NT 6.1.7601 Service Pack 1

Issue Description

When in a worktree usually shown information is not displayed (it just behaves as if the current folder was not under git)

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

rkeithhill commented Feb 8, 2017

I see the issue. I have it fixed by tonight. Thanks for the report!

@rkeithhill
Copy link
Collaborator

@dahlbyk For this I can read the contents of the .git file but I'm thinking I shouldn't rely on that implementation detail but use git rev-parse --git-dir instead.

@rkeithhill
Copy link
Collaborator

@skeept Can you try this fix - #408

@skeept
Copy link
Contributor Author

skeept commented Feb 8, 2017

@rkeithhill I tried it and it works fine. Thank you.

dahlbyk added a commit that referenced this issue Feb 9, 2017
…-broken

Fix #407 worktree has .git file not folder.
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

2 participants