Transcrypt .env SCM gutters broken on 3.25.x

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

  1. Open a git repo with transcrypt-encrypted tracked .env (.gitattributes: .env filter=crypt diff=crypt merge=crypt)
  2. Unlock so working-tree .env is plaintext; confirm git status -- .env is clean
  3. Open .env in Cursor 3.25.9
  4. Observe hatched orange gutters on (nearly) all lines
  5. 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

Hey @whoatebambi,

Starting with 3.25, Cursor no longer runs repository-defined git diff drivers (textconv and external diff commands) when it reads file contents for the editor gutters. This was a deliberate security change: those drivers are commands configured by the repository itself, so opening an untrusted repo could run them without any prompt.

Transcrypt decrypts files for diffs through exactly that kind of textconv driver. Without it, Cursor gets the encrypted version from git as the “original” and compares it with your decrypted working copy, so every line shows as changed even though git status is clean. Git in your terminal still runs the driver, which is why it looks correct there. There isn’t a setting to turn the drivers back on in Cursor right now.

In the meantime, two options:

  1. Stay on an earlier version (3.24 or before, such as the 3.17.19 build you tested).
  2. Or hide the gutter decorations in that repo by adding "scm.diffDecorations": "none" to its .vscode/settings.json. This hides them for every file in that workspace, not just .env.