Browse Source

Gates getCurrentUser to avoid extra git calls

main
Eric Amodio 4 years ago
parent
commit
82ce0d0d77
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/git/gitService.ts

+ 1
- 0
src/git/gitService.ts View File

@ -1394,6 +1394,7 @@ export class GitService implements Disposable {
}
@log()
@gate()
async getCurrentUser(repoPath: string) {
let user = this._userMapCache.get(repoPath);
if (user != null) return user;

Loading…
Cancel
Save