Git diff not showing changes

Hello, I noticed sometimes (rather rarely) when agent makes changes, they do not show up within Cursor. Cursor marks the file as modified but in the diff there is nothing. Using git diff command shows it. I have to restart Cursor in order to see the change. No errors, no logs, nothing.
It happened to me today and the last time it did was several months ago.
I know it is unlikely to be found, but would be great if somebody had similar experience? It is a big deal for me as I review every line changed.

Version: 2.6.20 (user setup)
VSCode Version: 1.105.1
Commit: b29eb4ee5f9f6d1cb2afbc09070198d3ea6ad760
Date: 2026-03-17T01:50:02.404Z
Build Type: Stable
Release Track: Early Access
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

Hey, this is a known issue where a file shows as changed but the diff is empty. A few users have hit this on recent versions.

Try this: go to Cursor Settings > Agents > Inline Diffs, toggle it off and back on, then fully quit Cursor not just close the window, use Exit/Quit and reopen it.

Main thread for this bug is here: Only some diffs are shown whhen agent makes changes

As a backup for reviewing changes, you can use git diff in the terminal or the Review panel like you’re already doing.

The team is aware of the issue. Let me know if the workaround helps.