1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-14 22:51:11 +02:00

Update .gitattributes

* Modify `.gitattributes` to be more clear about file types, diffs and EOL chars.
* Add attributes to `.editorconfig` so it matches `.gitattributes`.

Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/359
This commit is contained in:
Emily Mabrey
2021-07-28 23:31:05 -04:00
committed by GitHub
parent a06bdeddac
commit c620663eb6
2 changed files with 207 additions and 3 deletions

View File

@@ -4,10 +4,17 @@ root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{bat,cmd,ps1}]
end_of_line = crlf
[*.{csproj,dbproj,filters,fsproj,lsproj,modelproj,props,sln,sqlproj,vbproj,vcproj,vcxitems,vcxproj,wixproj,wmaproj,xproj}]
charset = utf-8-bom
end_of_line = crlf
# 4-wide spaces
[*.{c,h,cpp,hpp}]
indent_style = space