Skip to content

Commit eb1960b

Browse files
committed
renames Refs to References
Replaces `Refs` with `References` across the codebase for better clarity and consistency. Updates all method calls, variable names, and interfaces to reflect this change.
1 parent d9ee7e9 commit eb1960b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/GitVersion.LibGit2Sharp/Git/GitRepository.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)