Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-04-05 04:49:49 -0400
committerThomas Wolf2018-04-25 06:17:38 -0400
commitc134baf64aea3b7b4484a6350615f0607be176a1 (patch)
treed1bf63bd9689806c9e7d739ca207eb12b16ee928 /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
parent455a6c3648c9dbc04fe7c82b2bb8d3ef91797825 (diff)
downloadegit-c134baf64aea3b7b4484a6350615f0607be176a1.tar.gz
egit-c134baf64aea3b7b4484a6350615f0607be176a1.tar.xz
egit-c134baf64aea3b7b4484a6350615f0607be176a1.zip
Repositories view blocks Eclipse on startup
When asking the "Tags" node whether it has children or not, answer true, as long as the ref database has not been read, and start reading the database in a job. This avoids blocking the Eclipse UI for reading the ref database very early when creating the nodes in the repository tree view. Of course the blocking still happens if the user tries to expand the tags node immediately after that node became visible. Change-Id: I553db27d2bdd2571c6a713dabd6e68065873b98b Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de> Bug: 533230
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
index ca80b2d12..4cf0758cf 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
@@ -1293,6 +1293,7 @@ RepositoriesView_TagDeletionFailureMessage=Deletion of tags failed
RepositoriesView_WorkingDir_treenode=Working Tree
RepositoriesViewActionProvider_OpenWithMenu=Open Wit&h
RepositoriesViewContentProvider_ExceptionNodeText=Exception encountered while fetching children
+RepositoriesViewContentProvider_ReadReferencesJob=Reading repository references
RepositoriesViewLabelProvider_LocalNodetext=Local
RepositoriesViewLabelProvider_RemoteTrackingNodetext=Remote Tracking
RepositoriesViewLabelProvider_StashNodeText=Stashed Commits

Back to the top