Hey @ORanuare thanks for sticking with the thread and sharing so many details. That isolation work really helped: Windows only, org repo only, Editor layout and Mac work, and getGitRoot with an empty cwd in the logs.
Good news: this signature was a Windows specific path in the Glass SCM provider where cwd wasn’t being picked up for part of the workspace. We dug into it and the fix landed in recent builds. In post #20 you were on 3.5.33, and there have been a few releases since then.
Can you update to the latest Stable and check the org repo again? Open the workspace and see if git changes show up in the Glass panel.
While you’re updating and testing, the same workarounds still apply:
Editor layout, Source Control in the sidebar shows changes correctly even for org repos
Or use 3.3.30 if you need something working ASAP
If it’s still empty on the latest build, please share a fresh log from Help > Toggle Developer Tools > Console right when the panel is empty. Look for lines like [GlassDiffService], getGitRoot, cwd=<empty>, and tell me what you did right before it happened, like Reload Window, switching workspace, or updating. That’ll help me confirm if it’s the same root cause or something new, and I’ll post an update in the thread.
I have the same problem, on some org repositories it shows “Failed to load changes” in the changes view of the new agent window. I’m on version 3.8.11 on windows 11.
Hey, don’t give up yet. Good news: the exact signature you ran into (getGitRoot returning an empty cwd, which makes Glass show notGitRepository or an empty panel on org repos on Windows) was already tracked down and fixed in a recent version. You reported it on 3.5.33, and since then we’ve shipped 3.7.x builds.
Can you update to the latest 3.7.x and check org repos again? In theory, the SCM/Diff panel in Glass should show changes again.
If it’s still empty on the latest version, or you just see a spinner, please send a fresh log from Help > Toggle Developer Tools > Console right at the moment the panel is empty. Look for lines like [GlassDiffService], [DiffTabContent], getGitRoot. That’ll immediately tell us if it’s the same signature (cwd=<empty>) or something new.
For now, the Editor layout is still a good workaround. Source Control in the sidebar shows org repos correctly there.
Thanks for coming back with an update and sharing the link to the deep dive, that’s super helpful. You’re right, what went into 3.8.x fixed a related case, but not the real root cause you found in that thread. So sorry for the earlier advice to just update, it was premature.
The root cause, like you described, is a drive letter case mismatch. Git returns the repo root in lowercase /c:/..., but the folder URI comes in uppercase /C:/... when the workspace is opened via cursor . from a terminal. Because the comparison is case-sensitive, it doesn’t match, cwd stays empty, and the Changes panel ends up on Failed to load changes. We’re tracking this now, but I can’t share an exact ETA for the fix yet.
Workarounds for now:
For a multi-root workspace, change the drive letters in the config to lowercase, like @codepower suggested in the same thread:
Open %APPDATA%\Cursor\glassMultiRootWorkspaces, find xxx.yyy-workspace
In path, change drive letters from uppercase to lowercase F:/... → f:/...
Save and restart Cursor
Or switch to the Editor layout. Source Control in the sidebar shows changes correctly there, including for org repos.
If it’s still empty after the lowercase fix, please share what you see in Help > Toggle Developer Tools > Console at that moment, especially lines with [GlassDiffService] and cwd=. That’ll help confirm if it’s the same issue or something new. I’ll post here once I have an update on the fix.