Generate Commit Message: No contents found on 3.23.23 after cache reset (macOS)

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

  1. Open a git repo in Cursor (Next.js app with paths like src/app/[lng]/...).
  2. Stage a source file (not .env).
  3. 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.path to /usr/bin/git and git.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 delete User/globalStorage/state.vscdb because 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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.