Skip to content

Commit 87b1ac0

Browse files
author
roeil
committed
misc
1 parent d038a27 commit 87b1ac0

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/GitVersion.Core/Git/ICommit.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ public interface ICommit : IEquatable<ICommit?>, IComparable<ICommit>, IGitObjec
77
DateTimeOffset When { get; }
88

99
string Message { get; }
10+
1011
IReadOnlyList<string> DiffPaths { get; }
1112
}

src/GitVersion.Core/VersionCalculation/PathFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace GitVersion.VersionCalculation;
77

88
internal class PathFilter(IReadOnlyList<string> paths) : IVersionFilter
99
{
10-
private readonly List<Regex> pathsRegexes = [.. paths.Select(path => new Regex(path, RegexOptions.Compiled))];
10+
private readonly IReadOnlyList<Regex> pathsRegexes = [.. paths.Select(path => new Regex(path, RegexOptions.Compiled))];
1111
private readonly ConcurrentDictionary<string, bool> pathMatchCache = [];
1212

1313
public bool Exclude(IBaseVersion baseVersion, [NotNullWhen(true)] out string? reason)

src/GitVersion.LibGit2Sharp/Git/Commit.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ internal Commit(LibGit2Sharp.Commit innerCommit, LibGit2Sharp.Diff repoDiff) : b
2727
public IReadOnlyList<ICommit> Parents => this.parentsLazy.Value;
2828
public DateTimeOffset When { get; }
2929
public string Message => this.innerCommit.Message;
30-
// TODO implement tag prefix filtering before returning the paths.
3130
public IReadOnlyList<string> DiffPaths
3231
{
3332
get

0 commit comments

Comments
 (0)