Git status not showing for projects linked from Windows side to WSL #6078
Replies: 3 comments 2 replies
-
@RankkaApina check if git status works. As git blocks folders outside of the trusted drive by default. Their source is different from where you're calling from. |
Beta Was this translation helpful? Give feedback.
-
Git status does work, I have no issues with git except this. Although now it started working on my work laptop, but doesn't for my home laptop, which is weird, since there differences in the setup are minimal (and I even tried with using my work theme and it doesn't help the issue at home). But it seems this is rather an issue somewhere else than oh my posh... just need to figure out where... To be fair, it's a minor inconvenience. |
Beta Was this translation helpful? Give feedback.
-
I think I figured out why it's not showing. If I print the debug log, I see that it's trying to call git.exe (which I don't have installed, I have git just on the wsl side, but this is how it's at work also) So, it's trying to find the git on windows side, not sure how to make it understand to look on the wsl side (and why it does at work...). |
Beta Was this translation helpful? Give feedback.
-
I was wondering why some of my git projects show perfectly in the prompt and some others don't. I'm not 100 % sure, but to me it looks like that it's the projects that I've linked from Windows side to my WSL that don't show up. This seems to be new in one of the last upgrades, although it was erratic before (so I actually do prefer the new way, as it seems to be less erratic even if not all my projects show the status).
Is there a way to make the git status show up for the projects on the dark side (windows) or is that just not a feature at the moment?
Beta Was this translation helpful? Give feedback.
All reactions