mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 09:35:40 -05:00
Stops clearing broken blame on save
Clears broken blame on close
This commit is contained in:
@@ -187,8 +187,8 @@ export default class GitProvider extends Disposable {
|
||||
|
||||
const cacheKey = this._getCacheEntryKey(fileName);
|
||||
|
||||
if (reason === RemoveCacheReason.DocumentClosed) {
|
||||
// Don't remove broken blame on close (since otherwise we'll have to run the broken blame again)
|
||||
if (reason === RemoveCacheReason.DocumentSaved) {
|
||||
// Don't remove broken blame on save (since otherwise we'll have to run the broken blame again)
|
||||
const entry = this._gitCache.get(cacheKey);
|
||||
if (entry && entry.hasErrors) return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user