mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 10:03:15 -05:00
Fixes another off-by-one issue when diffing with caching
Refactored commands and blame annotations
This commit is contained in:
@@ -204,7 +204,15 @@ export default class GitCodeLensProvider implements CodeLensProvider {
|
||||
lens.command = {
|
||||
title: title,
|
||||
command: Commands.DiffWithPrevious,
|
||||
arguments: [Uri.file(lens.fileName), commit.repoPath, commit.sha, commit.uri, commit.previousSha, commit.previousUri, line.line]
|
||||
arguments: [
|
||||
Uri.file(lens.fileName),
|
||||
commit.repoPath,
|
||||
commit.sha,
|
||||
commit.uri,
|
||||
commit.previousSha,
|
||||
commit.previousUri,
|
||||
line.line
|
||||
]
|
||||
};
|
||||
return lens;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user