mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-26 08:09:11 +00:00
Add .gitattributes file
On Windows, cmake/xxd.py generates text files with \r\n eol. Because the in-repo files were stored with \n, and git considered them as binary files, they were always considered out of date. An alternative fix could be to let xxd.py generate binary files with \n. But a .gitattributes file should also avoid people accidentally converting line endings.
This commit is contained in:
committed by
Anonymous Maarten
parent
a5d9db0cd0
commit
ec0042081e
12
.gitattributes
vendored
Normal file
12
.gitattributes
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
*.c text
|
||||
*.cpp text
|
||||
*.h text
|
||||
*.cmake text
|
||||
*.py text
|
||||
*.txt text
|
||||
*.sh text
|
||||
*.vcxproj text eol=crlf
|
||||
*.sln text eol=crlf
|
||||
*.filters text eol=crlf
|
||||
*.appxmanifest text eol=crlf
|
||||
*.pbxproj text
|
||||
Reference in New Issue
Block a user