Commit 3234737f authored by Friedemann Kleint's avatar Friedemann Kleint

Mimetype detection: Fix a bug in diff/patch-detection.

Give diff a higher priority than C++ (fixes 'apply patch').
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent 148e3895
......@@ -10,7 +10,7 @@
rule for C++ as we want diffs to take preference when looking
at a C++ patch.
-->
<magic priority="10">
<magic priority="60">
<match value="&#x0a;+++ " type="string" offset="0:10000"/>
</magic>
</mime-type>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment