Git - switch back to using options instead of subcomands (#237390)

This commit is contained in:
Ladislau Szomoru
2025-01-07 12:48:35 +01:00
committed by GitHub
parent bfb4f5fc1c
commit eab8316ec8
2 changed files with 2 additions and 2 deletions

View File

@@ -1088,7 +1088,7 @@ export class Repository implements Disposable {
}
setConfig(key: string, value: string): Promise<string> {
return this.run(Operation.Config(false), () => this.repository.config('set', 'local', key, value));
return this.run(Operation.Config(false), () => this.repository.config('add', 'local', key, value));
}
log(options?: LogOptions & { silent?: boolean }): Promise<Commit[]> {