瀏覽代碼

Stops caching on reverse log

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

+ 1
- 1
src/gitService.ts 查看文件

@ -504,7 +504,7 @@ export class GitService extends Disposable {
Logger.log(`getLogForFile('${repoPath}', '${fileName}', ${sha}, ${range && `[${range.start.line}, ${range.end.line}]`}, ${maxCount}, ${reverse})`);
let entry: GitCacheEntry | undefined;
if (this.UseGitCaching && !sha && !range && !maxCount) {
if (this.UseGitCaching && !sha && !range && !maxCount && !reverse) {
const cacheKey = this.getCacheEntryKey(fileName);
entry = this._gitCache.get(cacheKey);

Loading…
取消
儲存