diff --git a/.gitattributes b/.gitattributes
index 69fe7b106d5f6c763e438c146fe60283fd232987..213be894e51ab51ac4d8531a2782a3b5038bb8ba 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -11,6 +11,7 @@
 *.h                     text eol=lf
 *.rc                    text eol=lf
 *.php                   text eol=lf
+*.xpm                   text eol=lf
 
 # Project files
 #
@@ -27,3 +28,14 @@
 checkin_notes           text eol=lf
 checkin_notes_2012      text eol=lf
 
+# Misc files
+#
+*.txt                   text eol=lf
+*.xml                   text eol=lf
+*.bat                   text eol=crlf
+*.po                    text eol=lf
+*.log                   text eol=lf
+*.cmd                   text eol=crlf
+*.rtf                   text eol=lf
+*.rul                   text eol=crlf
+*.rules                 text eol=crlf