Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDariusz Luksza2011-07-07 18:31:46 -0400
committerMatthias Sohn2011-07-07 18:31:46 -0400
commitf0b6ccca7e1ec339942fae194ec69a8021ea4d8c (patch)
tree15d2da358f519c1f48857fe6a1718c19ef2828f1 /org.eclipse.egit.core/plugin.xml
parent552bec12b061c9ecfa98d2c88eb78044b8428fb4 (diff)
downloadegit-f0b6ccca7e1ec339942fae194ec69a8021ea4d8c.tar.gz
egit-f0b6ccca7e1ec339942fae194ec69a8021ea4d8c.tar.xz
egit-f0b6ccca7e1ec339942fae194ec69a8021ea4d8c.zip
Mark all .git dir's as ignored
The Team Ignore extension point checks given ignore pattern against file name or whole workspace relative path. Sometimes we need to ignore files like .git/index that won't match using old pattern. In such cases a new pattern needs to be added to match files inside .git folder. The Team Ignore extension point will expand resource path into workspace relative path when it finds '/' character in pattern. Such expanded path will contain project name, therefore we need to add '*/.git/*' pattern into ignored ones. Bug: 334369 Change-Id: I12641c4d423960ca0e7d86c2cd867e0c93919622 Signed-off-by: Dariusz Luksza <dariusz@luksza.org> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.core/plugin.xml')
-rw-r--r--org.eclipse.egit.core/plugin.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.egit.core/plugin.xml b/org.eclipse.egit.core/plugin.xml
index f95166103..029a29fb7 100644
--- a/org.eclipse.egit.core/plugin.xml
+++ b/org.eclipse.egit.core/plugin.xml
@@ -17,5 +17,8 @@
<ignore
enabled="true"
pattern=".git"/>
+ <ignore
+ enabled="true"
+ pattern="*/.git/*"/>
</extension>
</plugin>

Back to the top