mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-17 01:35:37 -05:00
Fixes #57 - no more blank message w/o a diff.tool
This commit is contained in:
@@ -150,8 +150,13 @@ export class Git {
|
||||
return gitCommand(repoPath, ...params);
|
||||
}
|
||||
|
||||
static config_get(key: string, repoPath?: string) {
|
||||
return gitCommand(repoPath || '', `config`, `--get`, key);
|
||||
static async config_get(key: string, repoPath?: string) {
|
||||
try {
|
||||
return await gitCommand(repoPath || '', `config`, `--get`, key);
|
||||
}
|
||||
catch (ex) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
static diff_nameStatus(repoPath: string, sha1?: string, sha2?: string) {
|
||||
|
||||
Reference in New Issue
Block a user