Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2014-03-12 03:37:53 -0400
committerTomasz Zarna2014-03-17 07:39:16 -0400
commit4c85c0ddada4871565f967d98aa21c29ded57925 (patch)
treeedfcb6bf19591954065079175e205063b8faef05 /org.eclipse.egit.core/plugin.xml
parentd6a9e12bc2535a4ed335ad426f5cebfc13e67cb8 (diff)
downloadegit-4c85c0ddada4871565f967d98aa21c29ded57925.tar.gz
egit-4c85c0ddada4871565f967d98aa21c29ded57925.tar.xz
egit-4c85c0ddada4871565f967d98aa21c29ded57925.zip
Add a text content type for patches
This enables proper content type detection of patches (i.e. files with .patch extension) when drag and dropping commits Bug: 358691 Change-Id: Ic656f3e1a1925e4e7655ee03498342552376ca4b Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Diffstat (limited to 'org.eclipse.egit.core/plugin.xml')
-rw-r--r--org.eclipse.egit.core/plugin.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.egit.core/plugin.xml b/org.eclipse.egit.core/plugin.xml
index 029a29fb7..31db1ac46 100644
--- a/org.eclipse.egit.core/plugin.xml
+++ b/org.eclipse.egit.core/plugin.xml
@@ -21,4 +21,14 @@
enabled="true"
pattern="*/.git/*"/>
</extension>
+ <extension
+ point="org.eclipse.core.contenttype.contentTypes">
+ <content-type
+ base-type="org.eclipse.core.runtime.text"
+ file-extensions="patch"
+ id="org.eclipse.egit.patch"
+ name="%patch_ContentTypeName"
+ priority="normal">
+ </content-type>
+ </extension>
</plugin>

Back to the top