add a few more patterns to .gitattributes
diff --git a/.gitattributes b/.gitattributes
index 8214dab..11ea3e9 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,11 @@
 *.ar                                    binary
 *.arj                                   binary
+*.java                                  text diff=java
+*.md                                    text
+*.txt                                   text
+*.xml                                   text
+*.yml                                   text
+.gitattributes                          text
 # These must be identical to the copies in SHRUNK.ZIP
 src/test/resources/test1.xml            eol=lf
 src/test/resources/test2.xml            eol=lf