mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 17:25:54 -05:00
Fixes issue with disabled caching
This commit is contained in:
@@ -106,6 +106,8 @@ export class GitProvider extends Disposable {
|
||||
}
|
||||
|
||||
public getBlameability(fileName: string): boolean {
|
||||
if (!this.UseGitCaching) return true;
|
||||
|
||||
const cacheKey = this.getCacheEntryKey(Git.normalizePath(fileName));
|
||||
const entry = this._gitCache.get(cacheKey);
|
||||
return !(entry && entry.hasErrors);
|
||||
|
||||
Reference in New Issue
Block a user