Add git attributes settings for *.c and *.h to force line endings to LF.
1 2 3 4 5 6 7 8
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f90540b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.c eol=lf +*.h eol=lf