mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Git - Update CommitMessageProvider git extension API (#196170)
Update CommitMessageProvider git extension API
This commit is contained in:
@@ -2048,7 +2048,7 @@ export class Repository implements Disposable {
|
||||
|
||||
const token = this.generateCommitMessageCancellationTokenSource.token;
|
||||
const provider = this.commitMessageProviderRegistry.commitMessageProvider;
|
||||
const commitMessage = await provider.provideCommitMessage(diff, token);
|
||||
const commitMessage = await provider.provideCommitMessage(new ApiRepository(this), diff, token);
|
||||
if (commitMessage) {
|
||||
this.inputBox.value = commitMessage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user