mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "[git] IDEA-132265 Don't send update event on repository initialization"
This breaks GitBranchWidget, because it doesn't update its state on start. There is no good enough fix for the problem until the GitRepositoryManager is fixed and become more synchonous in terms of getting repository for root (IDEA-132330)
This commit is contained in:
@@ -217,7 +217,7 @@ public class GitRepositoryImpl extends RepositoryImpl implements GitRepository {
|
||||
if (Disposer.isDisposed(repository.getProject())) {
|
||||
return;
|
||||
}
|
||||
if (previousInfo != null && !info.equals(previousInfo)) {
|
||||
if (!info.equals(previousInfo)) {
|
||||
repository.getProject().getMessageBus().syncPublisher(GIT_REPO_CHANGE).repositoryChanged(repository);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user