From ed7ed818bb3a36b1d003fb54a0a118d4892af14a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 2 Oct 2021 03:46:13 +0300 Subject: [PATCH] Add .gitattributes to enforce Git write normal human file endings and show pretty diffs for C and Python --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..3f066560 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +*.c text eol=lf diff=cpp +*.h text eol=lf diff=cpp +wscript text eol=lf diff=python