diff --git a/src/git/gitProviderService.ts b/src/git/gitProviderService.ts index b2493c4..cff64d5 100644 --- a/src/git/gitProviderService.ts +++ b/src/git/gitProviderService.ts @@ -993,8 +993,8 @@ export class GitProviderService implements Disposable { return provider.getContributors(path, options); } - @log() @gate() + @log() async getCurrentUser(repoPath: string | Uri): Promise { const { provider, path } = this.getProvider(repoPath); return provider.getCurrentUser(path); diff --git a/src/git/providers/localGitProvider.ts b/src/git/providers/localGitProvider.ts index 0e9cb0f..83bbd5d 100644 --- a/src/git/providers/localGitProvider.ts +++ b/src/git/providers/localGitProvider.ts @@ -1253,8 +1253,8 @@ export class LocalGitProvider implements GitProvider, Disposable { return contributors; } - @log() @gate() + @log() async getCurrentUser(repoPath: string): Promise { let user = this._userMapCache.get(repoPath); if (user != null) return user;