I’d like to report a bug that I’ve been dealing with for about a month. I kept waiting for it to be fixed, but it doesn’t seem like anything is changing.
Bug description:
Every time I restart Cursor, it shows a list of files as “modified / needs saving”, even though I didn’t change anything.
What happens:
I work on a project
I make changes and commit
There are no unsaved files
I close Cursor
When I open Cursor again, I suddenly get ~10 files marked as changed/unsaved (changes I did not make)
This forces me to discard changes file-by-file and reset the project back to the last commit
Steps to reproduce:
Open Cursor
Make any change
Commit
Close Cursor
Open Cursor again
Observe multiple files flagged as modified/unsaved even though no edits were made
This is happening consistently and makes it really hard to trust the working tree state after restart. Any help would be appreciated.
ok i have the same thing going on then, when i reboot i have 172 files that i need to commit and push and the number grows. they tend to be a lot of .md files so i thought it maybe was gitignore and i was doing something wrong.
Unfortunately it’s not, it’s a bug in the cursor, the problem is that their comment system is a bit difficult for people, and people prefer to wait for someone else to complain…
Hey, thanks for the report. This is a known issue and the team is working on a fix.
The bug has been confirmed by multiple users. Files that Agent or Composer previously edited get marked as modified when the IDE starts, usually due to EOF or whitespace changes. Related reports:
Version 2.3.x is already rolling out. Updates are usually released in stages, so it can take 1 to 3 days to reach all users. Keep an eye on the update notification in Cursor, or check manually via Help > Check for Updates.
Let me know if the issue still happens after you update to 2.3.x.