mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 09:35:40 -05:00
Addresses #57 - adds warning if no diff.tool
This commit is contained in:
@@ -150,6 +150,10 @@ export class Git {
|
||||
return gitCommand(repoPath, ...params);
|
||||
}
|
||||
|
||||
static config_get(key: string, repoPath?: string) {
|
||||
return gitCommand(repoPath || '', `config`, `--get`, key);
|
||||
}
|
||||
|
||||
static diff_nameStatus(repoPath: string, sha1?: string, sha2?: string) {
|
||||
const params = [`diff`, `--name-status`, `-M`];
|
||||
if (sha1) {
|
||||
|
||||
Reference in New Issue
Block a user