use of com.intellij.openapi.vcs.changes.VcsAnnotationRefresher in project intellij-community by JetBrains.
the class GitRepositoryForAnnotationsListener method createListener.
private GitRepositoryChangeListener createListener() {
return new GitRepositoryChangeListener() {
@Override
public void repositoryChanged(@NotNull GitRepository repository) {
final VcsAnnotationRefresher refresher = myProject.getMessageBus().syncPublisher(VcsAnnotationRefresher.LOCAL_CHANGES_CHANGED);
refresher.dirtyUnder(repository.getRoot());
}
};
}
Aggregations