File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/GitVersion.LibGit2Sharp/Git Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ private IRepository RepositoryInstance
3030 public bool IsShallow => RepositoryInstance . Info . IsShallow ;
3131 public IBranch Head => GetOrWrap ( RepositoryInstance . Head , RepositoryInstance . Diff ) ;
3232
33- public ITagCollection Tags => new TagCollection ( RepositoryInstance . Tags , RepositoryInstance . Diff , this ) ;
34- public IReferenceCollection References => new ReferenceCollection ( RepositoryInstance . Refs , this ) ;
35- public IBranchCollection Branches => new BranchCollection ( RepositoryInstance . Branches , RepositoryInstance . Diff , this ) ;
36- public ICommitCollection Commits => new CommitCollection ( RepositoryInstance . Commits , RepositoryInstance . Diff , this ) ;
37- public IRemoteCollection Remotes => new RemoteCollection ( RepositoryInstance . Network . Remotes , this ) ;
33+ public ITagCollection Tags => new TagCollection ( RepositoryInstance . Tags , RepositoryInstance . Diff , this . repositoryCache ) ;
34+ public IBranchCollection Branches => new BranchCollection ( RepositoryInstance . Branches , RepositoryInstance . Diff , this . repositoryCache ) ;
35+ public ICommitCollection Commits => new CommitCollection ( RepositoryInstance . Commits , RepositoryInstance . Diff , this . repositoryCache ) ;
36+ public IRemoteCollection Remotes => new RemoteCollection ( RepositoryInstance . Network . Remotes , this . repositoryCache ) ;
37+ public IReferenceCollection References => new ReferenceCollection ( RepositoryInstance . Refs , this . repositoryCache ) ;
3838
3939 public void DiscoverRepository ( string ? gitDirectory )
4040 {
You can’t perform that action at this time.
0 commit comments