Enforces line endings

Updates the contributing file

Fucking i hate you
This commit is contained in:
alexkar598
2019-07-18 12:01:04 -04:00
parent 5dd7242daf
commit 27eace3338
2 changed files with 10 additions and 3 deletions

9
.gitattributes vendored
View File

@@ -1,3 +1,12 @@
*.dmm eol=crlf
*.dm eol=crlf
*.md eol=crlf
*.txt eol=crlf
*.html eol=crlf
#this breaks if its in crlf
code/__DEFINES/rust_g.dm eol=lf
# merger hooks, run tools/hooks/install.bat or install.sh to set up
*.dmm merge=dmm
*.dmi merge=dmi

View File

@@ -393,6 +393,4 @@ If you are porting features/tools from other codebases, you must give them credi
Regarding sprites & sounds, you must credit the artist and possibly the codebase. All yogstation assets including icons and sound are under a [Creative Commons 3.0 BY-SA license](https://creativecommons.org/licenses/by-sa/3.0/) unless otherwise indicated. However if you are porting assets from GoonStation or usually any assets under the [Creative Commons 3.0 BY-NC-SA license](https://creativecommons.org/licenses/by-nc-sa/3.0/) are to go into the 'goon' folder of the yogstation codebase.
## A word on Git
Yes, we know that the files have a tonne of mixed Windows and Linux line endings. Attempts to fix this have been met with less than stellar success, and as such we have decided to give up caring until there comes a time when it matters.
Therefore, EOF settings of main repo are forbidden territory one must avoid wandering into, at risk of losing body and/or mind to the Git gods.
All .dmm .dm .md .txt .html are required to end with CRLF(DOS/WINDOWS) line endings,git will enforce said line endings automatically. Other file types have non enforced line endings.