Git - Update CommitMessageProvider git extension API (#196170)

Update CommitMessageProvider git extension API
This commit is contained in:
Ladislau Szomoru
2023-10-21 18:15:39 +02:00
committed by GitHub
parent c05b49710b
commit b8c3c75f5d
3 changed files with 4 additions and 4 deletions

View File

@@ -303,7 +303,7 @@ export interface BranchProtectionProvider {
export interface CommitMessageProvider {
readonly title: string;
readonly icon?: Uri | { light: Uri, dark: Uri } | ThemeIcon;
provideCommitMessage(changes: string[], cancellationToken?: CancellationToken): Promise<string | undefined>;
provideCommitMessage(repository: Repository, changes: string[], cancellationToken?: CancellationToken): Promise<string | undefined>;
}
export type APIState = 'uninitialized' | 'initialized';