From 9adb14aec88975b7f6eaea5698f69d6c94f9289a Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 17 Feb 2017 22:48:46 -0500 Subject: [PATCH] Removes dead commented out code --- src/gitProvider.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gitProvider.ts b/src/gitProvider.ts index 4b5f824..3eb22ec 100644 --- a/src/gitProvider.ts +++ b/src/gitProvider.ts @@ -188,12 +188,6 @@ export default class GitProvider extends Disposable { const cacheKey = this._getCacheEntryKey(fileName); if (reason === RemoveCacheReason.DocumentClosed) { - // Don't remove this from cache because at least for now DocumentClosed can't really be trusted - // It seems to fire when an editor is no longer visible (but the tab still is) - // if (this._fileCache.delete(cacheKey)) { - // Logger.log(`Clear uri cache entry for '${cacheKey}', reason=${RemoveCacheReason[reason]}`); - // } - // Don't remove broken blame on close (since otherwise we'll have to run the broken blame again) const entry = this._gitCache.get(cacheKey); if (entry && entry.hasErrors) return;