diff --git a/quad/.gitattributes b/quad/.gitattributes
index 845a411ca6f46292ccf9e7198c61885fd25bce18..16008a9770535114262510a59cf903c5218689e2 100644
--- a/quad/.gitattributes
+++ b/quad/.gitattributes
@@ -1,4 +1,4 @@
 # Always use lf for c and header files
-*.c lf
-*.h lf
+*.c eol=lf
+*.h eol=lf