From 272bb4db459fc814e4b110eea2c6f8e2e5f366af Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 25 Jun 2017 23:41:21 -0400 Subject: [PATCH] Sets line to avoid diff jumping --- src/views/commitFileNode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/commitFileNode.ts b/src/views/commitFileNode.ts index 2b5694d..670e6aa 100644 --- a/src/views/commitFileNode.ts +++ b/src/views/commitFileNode.ts @@ -33,6 +33,7 @@ export class CommitFileNode extends ExplorerNode { GitUri.fromFileStatus(this.status, this.commit.repoPath), { commit: this.commit, + line: 0, showOptions: { preserveFocus: true, preview: true