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:
Kirill Likhodedov
2014-11-06 18:20:16 +03:00
parent 74568115d0
commit e0987e2379
@@ -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);
}
}