Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
index c3ecdf895..39932209b 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java
@@ -66,10 +66,10 @@ public class GitResourceVariantTreeSubscriber extends
@Override
public boolean isSupervised(IResource res) throws TeamException {
- return gsds.contains(res.getProject()) && !isIgnoredHint(res);
+ return IResource.FILE == res.getType()
+ && gsds.contains(res.getProject()) && !isIgnoredHint(res);
}
-
@Override
public IResource[] members(IResource res) throws TeamException {
if(res.getType() == IResource.FILE)

Back to the top