Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit f435cf1

Browse files
committed
Make sure line is current selected line
1 parent bcc0c5c commit f435cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function activate(context: vscode.ExtensionContext) {
6767
const file = activeEditor.document.uri;
6868
const line = activeLine.lineNumber;
6969
const command = "git";
70-
const args = ["blame", "--porcelain", `-L${line},+1`, file.fsPath];
70+
const args = ["blame", "--porcelain", `-L${line + 1},+1`, file.fsPath];
7171
const workspaceFolder =
7272
vscode.workspace.getWorkspaceFolder(file)?.uri.path;
7373
const options = { cwd: workspaceFolder };

0 commit comments

Comments
 (0)