diff --git a/src/gitProvider.ts b/src/gitProvider.ts index 56406ff..7418908 100644 --- a/src/gitProvider.ts +++ b/src/gitProvider.ts @@ -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);