Merge pull request #38 from psavva/unix-lf

Ensure that files have the correct character encoding.
master
E.L 3 years ago committed by GitHub
commit 4c416cbc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.gitattributes vendored

@ -0,0 +1,20 @@
#
# Configure line ending normalisation for this repository.
# See http://schacon.github.io/git/gitattributes.html for more information.
#
# Also each developer should configure the old style normalisation on her workstation
# (see http://timclem.wordpress.com/2012/03/01/mind-the-end-of-your-line/):
#
# Windows user should use: git config --global core.autocrlf = true
# Unix/Linux users should use: git config --global core.autocrlf = input
#
# Auto detect text files and perform LF normalization
* text=auto
*.txt text
*.xml text diff=xml
# Shell scripts require LF
*.sh text eol=lf
# Batch scripts require CRLF
*.bat text eol=crlf
Loading…
Cancel
Save