You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added Blame previous revision to the hover and as a command: it opens the file as it was before the commit that last changed the line in a diff editor against the current file, at the matching line. Blame and the hover work in that past revision too, so you can keep stepping back through a line's history. Renames are followed.
Fixed: for a file renamed since the commit, the hover's diff and Open in Diff Editor used the current path, which didn't exist in that commit, and the commit panel didn't highlight the line you started from.
Fixed: uncommitted lines showed the file's last save time as if it were when the line changed, so a line typed a moment ago in a file saved 12 days ago read "Uncommitted changes, 12 days ago". The annotation now says "file saved 12 days ago", or "(file not saved)" while the file has unsaved changes, and the hover says the same.
A copy button next to the commit hash in the hover and the commit details panel copies the full hash.
Added Git Blame Solo: Change Setting…, which lists every setting with its current value and changes or resets the one you pick, without opening the Settings editor.
The author's email is shown next to their name in the hover. Turn it off with Git Blame Solo: Hide Author Email or gitBlameSolo.showAuthorEmail. The inline annotation and status bar stay name-only.
Behavior change: the blame hover now opens only over the inline annotation at the end of the current line, not anywhere on any line. Set gitBlameSolo.hover.trigger to "line" to restore the previous behavior.
Added the Git Blame Solo: Refresh command, which clears cached blame, repository roots, the remote URL, and user.email.
Added Open on GitHub/GitLab/Bitbucket/Azure DevOps to the hover and the commit details panel, and the Git Blame Solo: Open Commit on Remote command. Other hosts get a /commit/<sha> link.
Added an optional status bar item (gitBlameSolo.statusBar.enabled, gitBlameSolo.statusBar.template) that opens the commit details when clicked.
Your own commits read as "You" in the annotation and status bar (gitBlameSolo.currentUserLabel).
Commits listed in .git-blame-ignore-revs are skipped when the file exists (gitBlameSolo.ignoreRevsFile).
Added gitBlameSolo.ignoreWhitespace (-w) and gitBlameSolo.detectMovedLines (-M/-C).
Added gitBlameSolo.exclude to turn off blame for files matching glob patterns.
Blame is computed for the whole file with a single git blame --incremental and cached per document, instead of one git process per line. Edits shift the cached result (edited lines read as uncommitted) and saving re-blames the file, so typing no longer runs git.
Fixed: the inline blame for a line could go blank after a hover was dismissed quickly. The cancelled git call cached undefined; calls whose results go into the shared caches are no longer cancelled.
Fixed: blame went stale after a commit, amend, checkout, pull, or reset (for example, freshly committed lines still showed "Uncommitted changes"). The blame cache is now cleared whenever a repository's HEAD moves.