git: let git parse the commit.gpgsign boolean
This commit is contained in:
1 parent
9f2b42c25c
commit
56c9a4d5f6
3 files changed
+9
-5
No files matched your search
@@ -1411,13 +1411,17 @@ export class Repository {
|
||||
return this.git.spawn(args, options);
|
||||
}
|
||||
|
||||
async config(command: string, scope: string, key: string, value: any = null, options: SpawnOptions = {}): Promise<string> {
|
||||
async config(command: string, scope: string, key: string, value: any = null, options: SpawnOptions = {}, type?: string): Promise<string> {
|
||||
const args = ['config', `--${command}`];
|
||||
|
||||
if (scope) {
|
||||
args.push(`--${scope}`);
|
||||
}
|
||||
|
||||
if (type) {
|
||||
args.push(`--${type}`);
|
||||
}
|
||||
|
||||
args.push(key);
|
||||
|
||||
if (value) {
|
||||
|
||||
Reference in new issue
Block a user