Cursor diff not clearing after commit

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

[composer] Error getting commits for auto-accept: Error: Error fetching commit details for : Failed to execute git {
  "exitCode": 128,
  "gitCommand": "show",
  "stdout": "",
  "stderr": "fatal: ambiguous argument '': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n"
}

This is the message in Cursor developer console after commit and returning to IDE.

Steps to Reproduce

Create a change with composer. Commit. Highlights do not clear.

Expected Behavior

IDE highlights clear as expected after commit.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @alen-z!

Good news, we worked on this in 2.3, which is rolling out over the next week. After upgrading, please let us know if this still happens. :folded_hands:

I have the most recent version installed on MacOS and I am seeing diffs that should not be present from cursor or git.

❯ git status
On branch slice4-fe-fixes
Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git restore …” to discard changes in working directory)
modified:   .dockerignore
modified:   apps/api/schemas/workspaces.py
modified:   apps/api/services/workspaces.py
modified:   apps/api/tests/test_workspaces.py
modified:   apps/web/app/globals.css
modified:   apps/web/app/health/route.ts
modified:   apps/web/app/providers.tsx
modified:   apps/web/orval.config.ts
modified:   docs/slice-04-projects.md
modified:   docs/slice-04-testing.md
modified:   libs/ui/src/components/projects/project-card.tsx
modified:   libs/ui/src/components/ui/label.tsx
modified:   libs/ui/src/components/ui/select.tsx
modified:   libs/ui/src/stores/modal-store.ts

no changes added to commit (use “git add” and/or “git commit -a”)

I often can’t see what’s really going on anymore because of this feature showing changes that are not real.

Hey @stevel

Specific version information really helps. Can you copy the information from Cursor > About Cursor?

It also helps if you look for specific errors in the developer console (Help > Toggle Developer Tools) like @alen-z did.

Hi @Colin, latest version unfortunately does not fix the issue.

Hey @alen-z!

Thanks for following up.

I had a look, and it seems like we’ve refactored the git show approach entirely in 2.4. Would you be able to give Nightly a try (Cursor Settings > Beta).

Hey @Colin, thank you for being responsive. I can confirm 2.4.x works.

Version: 2.4.0-pre.36.patch.0
VSCode Version: 1.105.1
Commit: 5fdf39db168c663448e157fd8703e614773db640
Date: 2026-01-15T08:25:51.483Z
Build Type: Stable
Release Track: Nightly
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Great work team.

Cheers, Alen.

What is your recommended way of getting back into Stable/Default release cycle?

You should just be able to switch your Cursor Settings > Beta back to Default and check for updates! Do you have some concerns in doing so?