Skip to content

Select for Compare/Compare with Selected not working #4778

@eamodio

Description

@eamodio

The Select for Compare and Compare with Selected actions in tree views are broken, preventing users from comparing branches, commits, stashes, or tags.

Impact

Users can compare refs again using the Select for Compare workflow in tree views.

Validation

  1. Open a repository in VS Code with GitLens enabled
  2. Navigate to any tree view (Commits, Branches, etc.)
  3. Right-click on a branch, commit, stash, or tag and select "Select for Compare"
  4. Right-click on a different ref and select "Compare with Selected"
  5. Confirm the comparison opens correctly in the Search & Compare view

Risk

Medium – Changes the comparison workflow. Existing comparison results are preserved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-viewsIssues or features related to (tree) viewspending-releaseResolved but not yet released to the stable editionverified ✔Verified

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions