Browse Source

Stops caching on reverse log

main
Eric Amodio 7 years ago
parent
commit
964cf2d5dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/gitService.ts

+ 1
- 1
src/gitService.ts View File

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

Loading…
Cancel
Save