Fixes issue where the wrong diff line could be shown

This commit is contained in:
Eric Amodio
2017-06-02 15:12:31 -04:00
parent c0d5f55baa
commit 6a9977b954

View File

@@ -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) {