mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Git log: reset contained branches cache on refresh
This commit is contained in:
@@ -93,4 +93,10 @@ public class DetailsCache {
|
||||
return myBranches.get(new Pair<VirtualFile, AbstractHash>(root, hash));
|
||||
}
|
||||
}
|
||||
|
||||
public void resetBranchesCache() {
|
||||
synchronized (myLock) {
|
||||
myBranches.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1063,6 +1063,7 @@ public class GitLogUI implements Disposable {
|
||||
private void reloadRequest() {
|
||||
myState = StepType.CONTINUE;
|
||||
final int was = myTableModel.getRowCount();
|
||||
myDetailsCache.resetBranchesCache();
|
||||
final Collection<String> startingPoints = mySelectedBranch == null ? Collections.<String>emptyList() : Collections.singletonList(mySelectedBranch);
|
||||
myDescriptionRenderer.resetIcons();
|
||||
if (StringUtil.isEmptyOrSpaces(myPreviousFilter)) {
|
||||
|
||||
Reference in New Issue
Block a user