This is the same setting that scans the workspace regularly for changes in resources. We scan more often can can trigger sooner because we can scan fewer files. Signed-off-by: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> --- .../src/org/spearce/egit/ui/Activator.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/Activator.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/Activator.java index 39d3bc9..d8928cb 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/Activator.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/Activator.java @@ -203,6 +203,11 @@ public class Activator extends AbstractUIPlugin { } public void indexChanged(IndexChangedEvent e) { + // Check the workspace setting "refresh automatically" setting first + if (!ResourcesPlugin.getPlugin().getPluginPreferences().getBoolean( + ResourcesPlugin.PREF_AUTO_REFRESH)) + return; + IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects(); Set<IProject> toRefresh= new HashSet<IProject>(); for (IProject p : projects) { -- 1.5.6.2.220.g44701 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html