Skip to content

Commit ea2906c

Browse files
committed
cleanup
1 parent 877815e commit ea2906c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/GitVersion.LibGit2Sharp/Git/BranchCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ internal sealed class BranchCollection : IBranchCollection
77
{
88
private readonly LibGit2Sharp.BranchCollection innerCollection;
99
private readonly Lazy<IReadOnlyCollection<IBranch>> branches;
10-
private readonly LibGit2Sharp.Diff diff;
10+
private readonly Diff diff;
1111

12-
internal BranchCollection(LibGit2Sharp.BranchCollection collection, LibGit2Sharp.Diff diff)
12+
internal BranchCollection(LibGit2Sharp.BranchCollection collection, Diff diff)
1313
{
1414
this.innerCollection = collection.NotNull();
1515
this.branches = new Lazy<IReadOnlyCollection<IBranch>>(() => [.. this.innerCollection.Select(branch => new Branch(branch, diff))]);

src/GitVersion.LibGit2Sharp/Git/CommitCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ internal sealed class CommitCollection : ICommitCollection
77
{
88
private readonly ICommitLog innerCollection;
99
private readonly Lazy<IReadOnlyCollection<ICommit>> commits;
10-
private readonly LibGit2Sharp.Diff diff;
10+
private readonly Diff diff;
1111

12-
internal CommitCollection(ICommitLog collection, LibGit2Sharp.Diff diff)
12+
internal CommitCollection(ICommitLog collection, Diff diff)
1313
{
1414
this.innerCollection = collection.NotNull();
1515
this.commits = new Lazy<IReadOnlyCollection<ICommit>>(() => [.. this.innerCollection.Select(commit => new Commit(commit, diff))]);

src/GitVersion.LibGit2Sharp/Git/Tag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ internal sealed class Tag : ITag
99
private static readonly LambdaEqualityHelper<ITag> equalityHelper = new(x => x.Name.Canonical);
1010
private static readonly LambdaKeyComparer<ITag, string> comparerHelper = new(x => x.Name.Canonical);
1111
private readonly LibGit2Sharp.Tag innerTag;
12-
private readonly LibGit2Sharp.Diff diff;
12+
private readonly Diff diff;
1313
private readonly Lazy<ICommit?> commitLazy;
1414

15-
internal Tag(LibGit2Sharp.Tag tag, LibGit2Sharp.Diff diff)
15+
internal Tag(LibGit2Sharp.Tag tag, Diff diff)
1616
{
1717
this.innerTag = tag.NotNull();
1818
this.commitLazy = new(PeeledTargetCommit);

0 commit comments

Comments
 (0)