Skip to content

fix(settings): let users turn version control off - #68

Closed
macodev00 wants to merge 1 commit into
mainfrom
cursor/disable-git-setting-redo2-8856
Closed

macodev00 wants to merge 1 commit into
mainfrom
cursor/disable-git-setting-redo2-8856

Conversation

@macodev00

Copy link
Copy Markdown
Owner

What Changed

Settings → Source Control → Version control can turn Git off for an environment or one project. While it is off, detection, status, fetch, auto-pull, and checkpoints do not run Git. Turning it back on reloads local and remote status and publishes a full snapshot to open streams.

Why

The Git row showed enabled and the control could not be changed, so huge or slow repositories (including git-svn) kept paying for Git work. The switch now writes enableVersionControl. Existing settings stay on.

A missing project-root lookup stays off when any opt-out exists, so a failed lookup cannot fall through to the enabled environment default. Queued Git work rechecks the switch inside the remote write lock. A zero fetch interval still checks the switch, so an open stream drops its cached repository status instead of emitting it forever.

pingdotgg#13595

UI Changes

Web and desktop Settings → Source Control: the Git switch is writable, including a mixed state when selected projects disagree. Mobile Source Control has the same switch. Jujutsu stays a read-only availability indicator.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Grok 4.7, Cursor cloud agent

Open in Web Open in Cursor 

The Source Control switch showed Git as enabled and could not be changed, so slow repositories kept running status, fetch, and checkpoints. The switch now writes enableVersionControl, and Git work stops while it is off. Turning it back on publishes a full status snapshot.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 28, 2026
@macodev00

Copy link
Copy Markdown
Owner Author

Opened upstream.

@macodev00 macodev00 closed this Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant