Skip to content

Commit 30ce215

Browse files
committed
Fixed invalid reference to 'head' on non-windows systems.
1 parent 421cb12 commit 30ce215

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "git-diff-and-merge-tool",
33
"displayName": "Git Diff and Merge Tool",
44
"description": "Launch git difftool and mergetool from VSCode.",
5-
"version": "1.0.3",
5+
"version": "1.0.4",
66
"author": {
77
"name": "David Rickard",
88
"email": "david.rickard@gmail.com"

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function activate(context: vscode.ExtensionContext) {
5454
let diffCommand = vscode.commands.registerCommand('gitdiffandmergetool.diff', (param: any) => {
5555
executeOperation(
5656
param,
57-
(targetFile: string) => { return ['difftool', '-y', 'head', targetFile]; },
57+
(targetFile: string) => { return ['difftool', '-y', 'HEAD', targetFile]; },
5858
(targetFile: string) => { return 'Launching diff tool for ' + targetFile; });
5959
});
6060

0 commit comments

Comments
 (0)