Git - do not invoke post commit commands when calling commit through the git extension api (#205364)

This commit is contained in:
Ladislau Szomoru
2024-02-16 14:32:31 +01:00
committed by GitHub
parent a0762a9a5c
commit ae7a786d1b

View File

@@ -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> {