The background is I asked cursor to fix a whole load of issues. I was going through accepting them, then realised that some of the changes were dubious, and I needed to review the changes made for each issue individually.
I undid all the changes through git, external to the Cursor IDE. I have since closed and re-opened the IDE.
This seems to have made the IDE confused about what has changed.
It is now showing files as changed, when they are as they are on disk.
Steps to Reproduce
I think what you need to do is, ask cursor to make some changes, accept some of them, and then reset the file externally.
I’ve since closed and re-opened cursor, and it is still showing the file as ‘changed’ even though it hasn’t.
Expected Behavior
I would expect cursor to refresh the state of files when it is opened. It’s as if the file is cached in Cursor from when it made the change.
After working in Cursor IDE, I also worked in WebStorm. Due to the nature of the task, I had to use multiple IDEs. However, when I reopen Cursor IDE, the project reverts to the last state that was saved in Cursor IDE
Hey, thanks for the detailed report and screenshots.
There are basically two bugs here:
The Review panel doesn’t update after an external git reset. Files still show as “changed”, even after restarting Cursor. This is a known issue with how the review UI syncs with external Git changes.
Agent changes (TODO) don’t show up in the review. We’ve seen this too. It’s related to not all agent diffs being displayed correctly in the Review panel.
The team is aware of both issues.
As a temporary workaround for the first one, you can try Accept All in the Review panel to clear the stuck state, then continue working.