瀏覽代碼

Fixes issue with disabled caching

main
Eric Amodio 7 年之前
父節點
當前提交
c5c1e24c62
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/gitProvider.ts

+ 2
- 0
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);

Loading…
取消
儲存