Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In a repo using transcrypt to encrypt tracked .env files (filter=crypt / diff=crypt), Cursor 3.25.9 shows hatched orange SCM gutter decorations on every line of .env, even when git status is clean.
It looks like the editor quick-diff compares working-tree plaintext (smudge-decrypted) against the raw encrypted git blob, instead of plaintext ↔ plaintext via Git filters/textconv.
Terminal git status / git diff are correct when the working tree is clean or when only a few lines change.
Regression: broken on 3.25.9; works on 3.17.19 (same machine/repo after downgrade) and on a colleague’s 3.7.17. Same transcrypt 2.3.1.
Steps to Reproduce
- Open a git repo with transcrypt-encrypted tracked .env (.gitattributes: .env filter=crypt diff=crypt merge=crypt)
- Unlock so working-tree .env is plaintext; confirm
git status -- .envis clean - Open .env in Cursor 3.25.9
- Observe hatched orange gutters on (nearly) all lines
- Downgrade to 3.17.19 → issue gone
Operating System
MacOS
Version Information
Broken: Cursor IDE 3.25.9 (arm64) — commit 5d4df965746c5d09740842fc0f1331ba1c157830
Working: Cursor IDE 3.17.19 (arm64) — commit ae3a2b7231dd56194447fe4570dfdc61640b1e90
Does this stop you from using Cursor
No - Cursor works, but with this issue