diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2013-04-21 05:30:24 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:53:28 +0300 |
commit | 7c3fe9545d9f6f49d24d5f3c5ed614f5f1ccc5e7 (patch) | |
tree | 716cc4509c8e098e0670c39f566971b149252485 /.gitattributes | |
parent | f1b5e3f3ef7d043287eb45e74aee90cd745a98a4 (diff) |
Normalized line endings
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..afed7c8e20 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,40 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text +*.cpp text +*.hpp text +*.cxx text +*.cc text +*.java text +*.mm text + +# Declare files that will always have LF line endings on checkout. +*.txt text eol=lf +*.html text eol=lf +*.csv text eol=lf +*.svg text eol=lf +*.py text eol=lf +*.sh text eol=lf +*.lst text eol=lf +*.mapcss text eol=lf +*.test text eol=lf +*.skn text eol=lf +*.meta text eol=lf +*.gitattributes text eol=lf +*.gitignore text eol=lf + +# Binary files which doesn't need any normalization +*.bin binary +*.bz2 binary +*.kmz binary +*.mwm binary +*.png binary +*.jpg binary +*.jpeg binary +*.ttf binary +*.slf binary +*.borders binary |