File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
GitVersion.Core/Configuration
GitVersion.LibGit2Sharp/Git Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11using GitVersion . Extensions ;
2- using GitVersion . Git ;
32using GitVersion . VersionCalculation ;
43
54namespace GitVersion . Configuration ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace GitVersion.Git;
88internal sealed partial class GitRepository
99{
1010 private Lazy < IRepository > ? repositoryLazy ;
11- private readonly static Dictionary < string , Patch > patchsCache = [ ] ;
11+ private readonly static Dictionary < string , Patch > patchCache = [ ] ;
1212
1313 private IRepository RepositoryInstance
1414 {
@@ -61,7 +61,7 @@ public void DiscoverRepository(string? gitDirectory)
6161 var innerCommit = RepositoryInstance . Commits . First ( c => c . Sha == commit . Sha ) ;
6262 var match = new Regex ( $ "^({ tagPrefix ?? "" } ).*$", RegexOptions . Compiled ) ;
6363
64- if ( ! patchsCache . ContainsKey ( commit . Sha ) )
64+ if ( ! this . patchsCache . ContainsKey ( commit . Sha ) )
6565 {
6666 if ( ! RepositoryInstance . Tags . Any ( t => t . Target . Sha == commit . Sha && match . IsMatch ( t . FriendlyName ) ) )
6767 {
You can’t perform that action at this time.
0 commit comments