Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3ebd862

Browse files
Merge branch 'master' into fixes/lock-unlock-multiple-files
2 parents c98f73c + 64e1262 commit 3ebd862

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/GitHub.Api/Git/Repository.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ public void Refresh(CacheType cacheType)
188188
{
189189
var cache = cacheContainer.GetCache(cacheType);
190190
cache.InvalidateData();
191+
192+
// Ensuring that the GitLock cache is kept up to date
193+
cacheContainer.GetCache(CacheType.GitLocks).ValidateData();
191194
}
192195

193196
private void CacheHasBeenInvalidated(CacheType cacheType)

0 commit comments

Comments
 (0)