Where does the bug appear (feature/product)?
Cursor IDE — Source Control “Generate Commit Message” (sparkle)
Describe the Bug
Clicking Generate Commit Message on staged files returns:
Failed to generate commit message: No contents found
Git itself works. `git status` shows the staged file. The Source Control panel shows Staged Changes. A clean profile (`cursor --user-data-dir=…`) makes the button work temporarily, then the error comes back. This matches the known EverythingProvider registration loss in Generate Commit Message: No contents found
Steps to Reproduce
- Open a git repo in Cursor (Next.js app with paths like
src/app/[lng]/...). - Stage a source file (not
.env). - Click Generate Commit Message.
Expected Behavior
A commit message is generated from the staged diff.
Operating System
MacOS 27.0 (Build 26A428), Darwin arm64
Version Information
Version: 3.23.23
VSCode Version: 1.128.0
Build Type: Stable
OS: Darwin 25.6.0
Additional Information
Tried without success:
- Confirmed Git at
/usr/bin/git(2.54.0 Apple Git-157) after accepting the Xcode license - Set
git.pathto/usr/bin/gitandgit.detectSubmodules: false - Removed leftover
submodule.active = .from.git/config(repo has no submodules) - Deleted this workspace’s
state.vscdb/-wal/-shm - Deleted
Cache,Code Cache,GPUCache - Uninstalled GitLens
- Reloaded and fully restarted Cursor
- Staged a real source file
Did not deleteUser/globalStorage/state.vscdbbecause it holds composer/chat history (~295 conversations).
Git Output shows the repo opening normally. The sparkle button still reports No contents found.
Does this stop you from using Cursor
No — Cursor works, but Generate Commit Message does not.