Source Control Graph: clicking a commit fails with "bad object" in multi-root workspaces

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I have a workspace that has three git repos as separate root folders. In Source Control > Graph, when I choose a repo OTHER than the first one and then click on a commit, a new tab opens showing:

Failed to load commit: Command failed: git show -m --pretty=format:%s<|ENT|><|RY|>%b<|ENT|><|RY|>%an<|ENT|><|RY|>%ad<|ENT|><|RY|>%cl<|ENT|><|RY|>%P<|ENT|><|RY|> adf5a69a1bf736e4b4a80931787e02c04ea7df66 fatal: bad object adf5a69a1bf736e4b4a80931787e02c04ea7df66

Steps to Reproduce

  1. Open a workspace with several git repos as separate root folders.
  2. In Source Control > Graph, show the history of a repo that is not the first workspace folder.
  3. Single-click any commit.

Expected Behavior

A list of the commit’s changed files becomes visible somewhere.

Operating System

MacOS

Version Information

Version: 3.24.18 (Universal)
VS Code Extension API: 1.128.0
Commit: be4c9e5350d77747b42cd467cbd3370a753d4640
Date: 2026-10-13T18:12:58.182Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @erik-muir, thanks for the report!

This is a known issue with multi-root workspaces. When you click a commit, Cursor looks it up in the first folder of the workspace instead of the repo the commit belongs to, which is why you see “bad object” for the other repos. A fix is already done and is included in the upcoming 3.25 release.

Until that update reaches you, any of these should work:

  1. Right-click the commit in the Graph and choose “Open Changes”. This opens the commit’s changed files in a multi-file diff, using the correct repo.
  2. Move the repo you are browsing to the top of the workspace folder list (drag it to the top in the Explorer, or reorder “folders” in your .code-workspace file). Commit details will then load for that repo.
  3. Open the repo in its own Cursor window.

Let me know if any of these still fails for you once you’re on 3.25.