Skip to content

Blame annotations for uncommitted changes - incorrect behaviour of buttons #4662

@MetRonnie

Description

@MetRonnie

Description

When you have uncommitted changes, the "Open changes with previous revision" & "Open blame prior to this change" buttons open completely the wrong diff & blame.

Expected behaviour is that it opens the diff of uncommitted changes and the blame of the file as it is on HEAD, respectively.

GitLens Version

17.5.1

VS Code Version

Version: 1.104.2
Commit: e3a5acfb517a443235981655413d566533107e92
Date: 2025-09-24T11:21:37.073Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Linux x64 5.14.0-570.44.1.el9_6.x86_64

Git Version

git version 2.47.3

Logs, Screenshots, Screen Captures, etc

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds to be looked at

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions