Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Whenever I open Cursor or the IDE performs a background scan, several files are marked as “Modified” in the Source Control (Git) tab. Upon inspecting the diff, there are no actual code changes; the only difference is the line separator (e.g., from CRLF to LF or vice versa). This leads to “ghost” changes that clutter the commit history and require manual rollbacks.
Steps to Reproduce
- Open a project in Cursor that has a specific line-ending configuration (e.g., CRLF).
- Wait for the IDE to initialize or background indexing to start.
- Check the Source Control (Git) panel.
- Observe that multiple files are marked as modified without any manual edits.
Expected Behavior
Cursor should respect the existing line endings of the files and should not modify any files automatically unless specifically edited by the user or formatted via an explicit command.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 2.4.31 (user setup)
VSCode Version: 1.105.1
Commit: 3578107fdf149b00059ddad37048220e41681000
Date: 2026-02-08T07:42:24.999Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100
Does this stop you from using Cursor
Yes - Cursor is unusable