mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 18:48:45 -05:00
Fixes issue where the wrong diff line could be shown
This commit is contained in:
@@ -671,7 +671,7 @@ export class GitService extends Disposable {
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
chunk.previous[line + deleted - 1],
|
chunk.previous[line + deleted - 1],
|
||||||
chunk.current[line + deleted]
|
chunk.current[line + deleted + (chunk.currentStart - chunk.previousStart)]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user