From fffac4107def928373f0a3444649be2115ed3e08 Mon Sep 17 00:00:00 2001 From: Jason <83615043+JJassonn69@users.noreply.github.com> Date: Wed, 15 Apr 2026 13:03:54 +0545 Subject: [PATCH] chore: add .gitattributes to enforce LF line endings for new files --- .gitattributes | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f7d3a11 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,21 @@ +# Enforce LF line endings for all text files going forward. +# Existing CRLF files are left as-is to avoid polluting git blame. +* text=auto eol=lf + +# Binary files — ensure git doesn't mangle these +*.npy binary +*.h5 binary +*.hdf5 binary +*.png binary +*.jpg binary +*.pdf binary +*.zip binary +*.bin binary +*.mem binary +*.hex binary +*.vvp binary +*.s2p binary +*.s3p binary +*.step binary +*.FCStd binary +*.FCBak binary