Git Repositories View: avoid parallel scheduling of auto-update job
commit3bd2fe4a18c56cab78edd1acc02952fe818ae9ae
authorMathias Kinzler <mathias.kinzler@sap.com>
Wed, 19 May 2010 18:40:13 +0000 (19 20:40 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Wed, 19 May 2010 18:40:13 +0000 (19 20:40 +0200)
tree6d051c21c251ce6ea9fa9b3289a17f88cd2d5ad3
parent48f56df8ecd4f9dd9974c04ef845b271cf5d6560
Git Repositories View: avoid parallel scheduling of auto-update job

If the update takes longer than the auto-update refresh rate, the current
implementation will schedule the update job even if the last one is still running.
This checks if an auto-update job is already running and simply skips this
auto-update.

Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java