]> granicus.if.org Git - file/commitdiff
Comment out the graphviz patterns, as they match far too many files.
authorReuben Thomas <rrt@sc3d.org>
Wed, 10 Sep 2008 21:30:28 +0000 (21:30 +0000)
committerReuben Thomas <rrt@sc3d.org>
Wed, 10 Sep 2008 21:30:28 +0000 (21:30 +0000)
Explanation given. I suggest mailing the graphviz people to ask if
anyone wants to sort them out.

magic/Magdir/graphviz

index cf47f4e28c84f2e9aada56283ef19585378bcb47..b580713dfe9a2ad9a48386a428e42b4ac0f3fd0c 100644 (file)
@@ -1,7 +1,10 @@
-
 #------------------------------------------------------------------------------
 # graphviz:  file(1) magic for http://www.graphviz.org/
-0      regex/100       [\r\n\t\ ]*graph[\r\n\t\ ]*.*\\{        graphviz graph text
-!:mime text/vnd.graphviz
-0      regex/100       [\r\n\t\ ]*digraph[\r\n\t\ ]*.*\\{      graphviz digraph text
-!:mime text/vnd.graphviz
+
+# FIXME: These patterns match too generally. For example, the first
+# line matches a LaTeX file containing the word "graph" (with a {
+# following later) and the second line matches this file.
+#0     regex/100       [\r\n\t\ ]*graph[\r\n\t\ ]*.*\\{        graphviz graph text
+#!:mime        text/vnd.graphviz
+#0     regex/100       [\r\n\t\ ]*digraph[\r\n\t\ ]*.*\\{      graphviz digraph text
+#!:mime        text/vnd.graphviz