mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -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);
|
return gitCommand(repoPath, ...params);
|
||||||
}
|
}
|
||||||
|
|
||||||
static config_get(key: string, repoPath?: string) {
|
static async config_get(key: string, repoPath?: string) {
|
||||||
return gitCommand(repoPath || '', `config`, `--get`, key);
|
try {
|
||||||
|
return await gitCommand(repoPath || '', `config`, `--get`, key);
|
||||||
|
}
|
||||||
|
catch (ex) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static diff_nameStatus(repoPath: string, sha1?: string, sha2?: string) {
|
static diff_nameStatus(repoPath: string, sha1?: string, sha2?: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user