Browse Source

Fixes #96 - stops opening external diff if configured

main
Eric Amodio 7 years ago
parent
commit
6b4642d8c8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/git/git.ts

+ 2
- 2
src/git/git.ts View File

@ -185,7 +185,7 @@ export class Git {
}
static diff(repoPath: string, fileName: string, sha1?: string, sha2?: string, encoding?: string) {
const params = [`diff`, `--diff-filter=M`, `-M`];
const params = [`diff`, `--diff-filter=M`, `-M`, `--no-ext-diff`];
if (sha1) {
params.push(sha1);
}
@ -197,7 +197,7 @@ export class Git {
}
static diff_nameStatus(repoPath: string, sha1?: string, sha2?: string) {
const params = [`diff`, `--name-status`, `-M`];
const params = [`diff`, `--name-status`, `-M`, `--no-ext-diff`];
if (sha1) {
params.push(sha1);
}

Loading…
Cancel
Save