From 0e431a0250366fe812090834d005e0fd96087148 Mon Sep 17 00:00:00 2001 From: PavelP Date: Sat, 25 Jul 2020 23:53:31 +0600 Subject: [PATCH] Use Unix line endings for c/c++ code (#1069) This is required for amalgamate.sh to produce correct results --- .gitattributes | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitattributes b/.gitattributes index 853070f3a..8b79783fa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -80,15 +80,15 @@ .gitignore export-ignore # Sources -*.c text diff=c -*.cc text diff=cpp -*.cxx text diff=cpp -*.cpp text diff=cpp -*.c++ text diff=cpp -*.hpp text diff=cpp -*.h text diff=c -*.h++ text diff=cpp -*.hh text diff=cpp +*.c text eol=lf diff=c +*.cc text eol=lf diff=cpp +*.cxx text eol=lf diff=cpp +*.cpp text eol=lf diff=cpp +*.c++ text eol=lf diff=cpp +*.hpp text eol=lf diff=cpp +*.h text eol=lf diff=c +*.h++ text eol=lf diff=cpp +*.hh text eol=lf diff=cpp # Compiled Object files *.slo binary