"Keep All" button sometimes missing, diff/"Keep" buttons persist after commit

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Sometimes “Keep” buttons and diff appear for changes after a file has been committed. In those situations the “Keep All” button has also been missing. I have “Auto-Accept on Commit” enabled but the UI doesn’t reflect committed state.

This affects manual editing of the file as the diff generation and displayed “Keep” buttons slow down the view.

Restarting Cursor does not resolve the issue.

Note: Testing with @condor

Feature request: Option to disable Keep buttons and diff views entirely. This would be useful when using an external git GUI, as I usually Keep All anyway and discard/stage in the external editor.

Steps to Reproduce

Make changes to a file. Commit changes without using “Keep” or “Keep All” buttons. Open/view the file in IDE.

Expected Behavior

Any “Keep” buttons or diffs should disappear after the file has been committed.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.0
VSCode Version: 1.105.1
Commit: ea48594a09b2e8d1fd6fb5db8502d43815a1e1a0
Date: 2025-12-09T06:33:08.669Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No, it works but with this specific issue.

Hey, thanks for the report.

Looks like a known issue with the edit review UI state. We’re tracking it here: 2.0.48: Edit Confirmation UI Unresponsive

Please try these workarounds:

  • Accept changes via Git panel instead of inline UI
  • In the problematic file, manually delete highlighted blocks, save, then immediately Undo Ctrl+Z
  • Ctrl+Shift+P → Developer: Reload Window
  • Run without extensions: cursor --disable-extensions

Got the request for a feature to disable Keep/diffs entirely - passing it to product. Let me know if any workaround helps and send the data above, I’ll attach it to the task.

1 Like

@deanrie Thanks for the info and possible workarounds. After reading the linked topic this issue seems different, but might be related. I tested but unfortunately none of the workarounds had any effect.

Accept changes via Git panel instead of inline UI

I don’t see any changes to accept in the Git panel (working tree clean).

In the problematic file, manually delete highlighted blocks, save, then immediately Undo Ctrl+Z

I have many changes in the file and autosave enabled, so it’s difficult to perform this in the exact sequence.

Ctrl+Shift+P → Developer: Reload Window

Did not have any effect.

Run without extensions: cursor --disable-extensions

Did not have any effect.

1 Like

Update: One workaround I found is to make a new change, then stage and make a second commit. This triggered the “Keep All” button to appear, which I could then use to keep all changes from both commits and dismiss the diff view.

Thanks for the clarification and the workaround you found!

Yes, it’s a related but slightly different variation of the same Edit Review UI issue. The bug is already being tracked, I’ll add your Auto-Accept on Commit case to the ticket.

Your workaround (new commit triggers Keep All) - great find, I’ll add it to the bug description.

Regarding the feature request to disable Keep/diffs - passing it to the team.

1 Like

Thank you, appreciated!

1 Like