From bf7e46ec26c8f0f9f7e578e070be4b2fc2cdf5a8 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 22 May 2024 21:50:50 +0200 Subject: Add Git attributes file to prevent accidental line ending changes --- .gitattributes | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..3a4c44aedc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,35 @@ +* text eol=lf + +# VSTool (normalization disabled) +indra/tools/vstool/* -text + +# Images +*.bmp binary +*.BMP binary +*.gif binary +*.icns binary +*.ico binary +*.j2c binary +*.j2k binary +*.jpg binary +*.png binary +*.tga binary +*.tif binary + +# Viewer resources +*.db2 binary +*.llm binary +*.nib binary +*.rtf binary +*.ttf binary + +# Executables +*.dll binary +*.exe binary + +# Files with Windows line endings +VivoxAUP.txt text eol=crlf +FILES_ARE_UNICODE_UTF-16LE.txt text eol=crlf + +# Windows Manifest files +*.manifest text eol=crlf -- cgit v1.2.3 From 6377610f6587989c126b00f490dfc8d527a1c2ce Mon Sep 17 00:00:00 2001 From: Brad Linden <46733234+brad-linden@users.noreply.github.com> Date: Thu, 23 May 2024 11:23:50 -0700 Subject: Protect NSIS scripts from eol-style translations. (#1556) --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 3a4c44aedc..30cc9de8f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,6 @@ FILES_ARE_UNICODE_UTF-16LE.txt text eol=crlf # Windows Manifest files *.manifest text eol=crlf + +# Windows Installer Script files (normalization disabled) +*.nsi -text -- cgit v1.2.3