Graph: Commit details panel retains previous repository's commit after switching repos

Author: sergeibbbCreated Jun 17, 2026Updated Sep 16, 2026

When switching the current repository in the Graph, the commit details panel continues to display the previously selected commit from the old repository. This is counterintuitive — especially since the commit details box already references the newly selected repository, creating a mismatch between the repo context shown and the commit being displayed.

Steps to reproduce

  • Open the Graph with a workspace that has multiple repositories
  • Select a commit in the current repository — commit details panel shows it
  • Switch to a different repository using the repo picker in the Graph

Expected result:

  • Commit details panel shows the working changes on the selected branch of the new repository

Actual result:

  • Commit details panel still displays the commit from the previous repository, while the repo context in the panel already references the newly selected repository
Image

Additional issue

After switching the repo, clicking the "Working Changes" row on the new repository does not update the Commit Details panel. A different commit must be selected first, and only then clicking "Working Changes" again shows the correct result.

Source: gitkraken/vscode-gitlens