Skip to content

Commit fe8ee2e

Browse files
committed
git: repository == scm provider
1 parent 56d1dad commit fe8ee2e

8 files changed

Lines changed: 341 additions & 437 deletions

File tree

extensions/git/package.json

Lines changed: 85 additions & 85 deletions
Large diffs are not rendered by default.

extensions/git/src/autofetch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class AutoFetcher {
1616
private disposables: Disposable[] = [];
1717
private timer: NodeJS.Timer;
1818

19-
constructor(private model: Repository) {
19+
constructor(private repository: Repository) {
2020
workspace.onDidChangeConfiguration(this.onConfiguration, this, this.disposables);
2121
this.onConfiguration();
2222
}
@@ -47,7 +47,7 @@ export class AutoFetcher {
4747
@throttle
4848
private async fetch(): Promise<void> {
4949
try {
50-
await this.model.fetch();
50+
await this.repository.fetch();
5151
} catch (err) {
5252
if (err.gitErrorCode === GitErrorCodes.AuthenticationFailed) {
5353
this.disable();

0 commit comments

Comments
 (0)