Merge pull request #38 from psavva/unix-lf
Ensure that files have the correct character encoding.master
commit
4c416cbc87
@ -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…
Reference in new issue