There used to be a setting to turn off auto-accept (e.g. “Auto commit on accept” / “Should Auto Accept Diffs”). Now it’s gone or ignored: with cursor.composer.shouldAutoAcceptDiffs: false in settings.json, Cursor still auto-accepts all pending Composer changes when I do a git commit. There’s no way in settings to disable this. Please bring back a way to turn off auto-accept on commit.
Steps to Reproduce
After version 2.35.x the “Auto Accept on commit” setting was removed and can’t be turned off
Expected Behavior
With “Auto Accept on commit” disabled (or cursor.composer.shouldAutoAcceptDiffs set to false), doing a git commit should not accept pending Composer changes. The user should be able to commit without Cursor auto-accepting diffs; accepting changes should stay manual.
Hey, this is a known issue. The shouldAutoAcceptDiffs setting was removed in a recent update, and right now you can’t turn off the auto-accept behavior when committing.
There’s a big thread about the same problem where other users are running into it too: Cursor Keeps Auto-Accepting Its Own Changes. I’ve passed this along to the team. There’s no ETA yet, but your report helps us prioritize it.
As a workaround for now, you can use the Review panel in the sidebar to check changes before committing, or run git diff to see exactly what got accepted.
Thanks for the link. That thread is about auto-accept while the agent is editing. My case is different: when I do a git commit, Cursor auto-accepts all pending changes . The “Auto Accept on commit” setting used to let me turn this off; now it’s gone and there’s no way to disable it.
Sorry for the confusion. That thread is actually about a different issue, auto-accept while the agent is running. In your case, when you run git commit, all pending diffs get auto-accepted automatically.
The shouldAutoAcceptDiffs setting was intentionally removed in a recent update. Auto-accept during commit now happens unconditionally. I’ve shared your specific case with the team, adding an option to disable auto-accept on commit.
For now, the workaround is to review changes with git diff --cached before committing, so you can double-check everything looks good. Not ideal, but it gives you control.
+1 report for this issue. I would like to have an ability to ONLY accept changes when explicitly accepted by me. I used this toggle until recently, but now I can’t anymore. Auto-accepting on commit breaks my workflow.