Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Posh-git cmdlets misbehave if you have $ErrorActionPreference = "Stop" #182

Closed
mnaoumov opened this issue Mar 30, 2015 · 3 comments
Closed

Comments

@mnaoumov
Copy link

One of the most annoying if you go to the repository folder with detached head then prompt function fails and shows ugly C:\MyProjectPS>

@rkeithhill
Copy link
Collaborator

Is this still a problem? I don't see any issues when HEAD is detached. I see:

[(sha1...) <rest of status info>] <path>
> _

@dahlbyk
Copy link
Owner

dahlbyk commented Jan 2, 2017

I can't reproduce either - if you can, please include what you see in $Error when the prompt fails.

@dahlbyk
Copy link
Owner

dahlbyk commented Jan 2, 2017

This may have been fixed by #307

@dahlbyk dahlbyk closed this as completed Jan 2, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants