@@ -180,15 +180,15 @@ import type { Git, PushForceOptions } from './git';
180
180
import { getShaInLogRegex , GitErrors , gitLogDefaultConfigs , gitLogDefaultConfigsWithFiles } from './git' ;
181
181
import type { GitLocation } from './locator' ;
182
182
import { findGitPath , InvalidGitConfigError , UnableToFindGitError } from './locator' ;
183
- import { BranchesGitProvider } from './operations/branches' ;
184
- import { PatchGitProvider } from './operations/patch' ;
185
- import { RemotesGitProvider } from './operations/remotes' ;
186
- import { StagingGitProvider } from './operations/staging' ;
187
- import { StashGitProvider } from './operations/stash' ;
188
- import { StatusGitProvider } from './operations/status' ;
189
- import { TagsGitProvider } from './operations/tags' ;
190
- import { WorktreesGitProvider } from './operations/worktrees' ;
191
183
import { CancelledRunError , fsExists } from './shell' ;
184
+ import { BranchesGitSubProvider } from './sub-providers/branches' ;
185
+ import { PatchGitSubProvider } from './sub-providers/patch' ;
186
+ import { RemotesGitSubProvider } from './sub-providers/remotes' ;
187
+ import { StagingGitSubProvider } from './sub-providers/staging' ;
188
+ import { StashGitSubProvider } from './sub-providers/stash' ;
189
+ import { StatusGitSubProvider } from './sub-providers/status' ;
190
+ import { TagsGitSubProvider } from './sub-providers/tags' ;
191
+ import { WorktreesGitSubProvider } from './sub-providers/worktrees' ;
192
192
193
193
const emptyArray = Object . freeze ( [ ] ) as unknown as any [ ] ;
194
194
const emptyPromise : Promise < GitBlame | GitDiffFile | GitLog | undefined > = Promise . resolve ( undefined ) ;
@@ -4846,42 +4846,42 @@ export class LocalGitProvider implements GitProvider, Disposable {
4846
4846
return ( await this . git . rev_parse__verify ( repoPath , ref ) ) != null ;
4847
4847
}
4848
4848
4849
- private _branches : BranchesGitProvider | undefined ;
4850
- get branches ( ) : BranchesGitProvider {
4851
- return ( this . _branches ??= new BranchesGitProvider ( this . container , this . git , this . _cache , this ) ) ;
4849
+ private _branches : BranchesGitSubProvider | undefined ;
4850
+ get branches ( ) : BranchesGitSubProvider {
4851
+ return ( this . _branches ??= new BranchesGitSubProvider ( this . container , this . git , this . _cache , this ) ) ;
4852
4852
}
4853
4853
4854
- private _patch : PatchGitProvider | undefined ;
4855
- get patch ( ) : PatchGitProvider | undefined {
4856
- return ( this . _patch ??= new PatchGitProvider ( this . container , this . git , this ) ) ;
4854
+ private _patch : PatchGitSubProvider | undefined ;
4855
+ get patch ( ) : PatchGitSubProvider | undefined {
4856
+ return ( this . _patch ??= new PatchGitSubProvider ( this . container , this . git , this ) ) ;
4857
4857
}
4858
4858
4859
- private _remotes : RemotesGitProvider | undefined ;
4860
- get remotes ( ) : RemotesGitProvider {
4861
- return ( this . _remotes ??= new RemotesGitProvider ( this . container , this . git , this . _cache , this ) ) ;
4859
+ private _remotes : RemotesGitSubProvider | undefined ;
4860
+ get remotes ( ) : RemotesGitSubProvider {
4861
+ return ( this . _remotes ??= new RemotesGitSubProvider ( this . container , this . git , this . _cache , this ) ) ;
4862
4862
}
4863
- private _staging : StagingGitProvider | undefined ;
4864
- get staging ( ) : StagingGitProvider | undefined {
4865
- return ( this . _staging ??= new StagingGitProvider ( this . container , this . git ) ) ;
4863
+ private _staging : StagingGitSubProvider | undefined ;
4864
+ get staging ( ) : StagingGitSubProvider | undefined {
4865
+ return ( this . _staging ??= new StagingGitSubProvider ( this . container , this . git ) ) ;
4866
4866
}
4867
4867
4868
- private _stash : StashGitProvider | undefined ;
4869
- get stash ( ) : StashGitProvider {
4870
- return ( this . _stash ??= new StashGitProvider ( this . container , this . git , this . _cache ) ) ;
4868
+ private _stash : StashGitSubProvider | undefined ;
4869
+ get stash ( ) : StashGitSubProvider {
4870
+ return ( this . _stash ??= new StashGitSubProvider ( this . container , this . git , this . _cache ) ) ;
4871
4871
}
4872
4872
4873
- private _status : StatusGitProvider | undefined ;
4874
- get status ( ) : StatusGitProvider {
4875
- return ( this . _status ??= new StatusGitProvider ( this . container , this . git , this . _cache , this ) ) ;
4873
+ private _status : StatusGitSubProvider | undefined ;
4874
+ get status ( ) : StatusGitSubProvider {
4875
+ return ( this . _status ??= new StatusGitSubProvider ( this . container , this . git , this . _cache , this ) ) ;
4876
4876
}
4877
4877
4878
- private _tags : TagsGitProvider | undefined ;
4879
- get tags ( ) : TagsGitProvider {
4880
- return ( this . _tags ??= new TagsGitProvider ( this . container , this . git , this . _cache ) ) ;
4878
+ private _tags : TagsGitSubProvider | undefined ;
4879
+ get tags ( ) : TagsGitSubProvider {
4880
+ return ( this . _tags ??= new TagsGitSubProvider ( this . container , this . git , this . _cache ) ) ;
4881
4881
}
4882
- private _worktrees : WorktreesGitProvider | undefined ;
4883
- get worktrees ( ) : WorktreesGitProvider {
4884
- return ( this . _worktrees ??= new WorktreesGitProvider ( this . container , this . git , this . _cache , this ) ) ;
4882
+ private _worktrees : WorktreesGitSubProvider | undefined ;
4883
+ get worktrees ( ) : WorktreesGitSubProvider {
4884
+ return ( this . _worktrees ??= new WorktreesGitSubProvider ( this . container , this . git , this . _cache , this ) ) ;
4885
4885
}
4886
4886
4887
4887
private _scmGitApi : Promise < ScmGitApi | undefined > | undefined ;
0 commit comments