git4idea: added .gitmodules to plain text files type
authorConstantine Plotnikov <Constantine.Plotnikov@jetbrains.com>
Fri, 19 Jun 2009 16:04:11 +0000 (20:04 +0400)
committerConstantine Plotnikov <Constantine.Plotnikov@jetbrains.com>
Fri, 19 Jun 2009 16:04:11 +0000 (20:04 +0400)
plugins/git4idea/src/git4idea/vfs/GitFileTypeFactory.java

index 83b5ea0d2dee6fd5a2a9039d89fd624f9741ffcd..e961cfd41356414dbd3ab6dc6c572b67e0c2c182 100644 (file)
@@ -30,6 +30,6 @@ public class GitFileTypeFactory extends FileTypeFactory {
    * {@inheritDoc}
    */
   public void createFileTypes(@NotNull FileTypeConsumer consumer) {
-    consumer.consume(new PlainTextFileType(), new ExactFileNameMatcher(".gitignore"));
+    consumer.consume(new PlainTextFileType(), new ExactFileNameMatcher(".gitignore"), new ExactFileNameMatcher(".gitmodules"));
   }
 }