mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Git - do not invoke post commit commands when calling commit through the git extension api (#205364)
This commit is contained in:
@@ -257,7 +257,7 @@ export class ApiRepository implements Repository {
|
||||
}
|
||||
|
||||
commit(message: string, opts?: CommitOptions): Promise<void> {
|
||||
return this.repository.commit(message, opts);
|
||||
return this.repository.commit(message, { ...opts, postCommitCommand: null });
|
||||
}
|
||||
|
||||
merge(ref: string): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user