Automatically handling line endings

This commit is contained in:
Gunnar Morling 2013-05-13 22:36:11 +02:00
parent 286a214fcd
commit 9b14a3509b
2 changed files with 46 additions and 31 deletions

15
.gitattributes vendored Normal file
View File

@ -0,0 +1,15 @@
# Repository specific GIT options
# Set default handling of line endings
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.java text
*.xml text
*.txt text
*.md text
# Java-friendly readable chunk headers
*.java diff=java