diff --git a/.gitattributes b/.gitattributes
index 2b719019847400287f9036ac2b84a5b5dabdf401..b1d5f8c48ffa0b2f0e3980bb231462a1576ee32c 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,3 @@
-* text=auto !eol
-irdb-libs/libcapstone norecurse
+irdb-libs/third_party/capstone norecurse
 irdb-libs/third_party/elfio-code norecurse