Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/Team.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/Team.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/Team.java
index 01b53e022..ce297ce75 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/Team.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/Team.java
@@ -127,6 +127,7 @@ public final class Team {
* @return whether the file should be ignored
*/
public static boolean isIgnoredHint(IFile file) {
+ if (file.isDerived()) return true;
IIgnoreInfo[] ignorePatterns = getAllIgnores();
StringMatcher matcher;
for (int i = 0; i < ignorePatterns.length; i++) {
@@ -136,7 +137,6 @@ public final class Team {
if (matcher.match(file.getName())) return true;
}
}
- if (file.isDerived()) return true;
return false;
}

Back to the top