diff --git a/quad/.gitattributes b/quad/.gitattributes
index 584baa1760615c3964859499eb37b615f58da3bb..845a411ca6f46292ccf9e7198c61885fd25bce18 100644
--- a/quad/.gitattributes
+++ b/quad/.gitattributes
@@ -1,7 +1,4 @@
-# Always use lf line endings in this folder
-* text eol=lf
-
-# These are text files
-*.c text
-*.h text
+# Always use lf for c and header files
+*.c lf
+*.h lf