Update .gitattributes for DOS EOL files

* .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
CRLF end-of-line format.
This commit is contained in:
Eli Zaretskii 2015-06-01 18:01:49 +03:00
parent e8f586be32
commit d0848f8dde

20
.gitattributes vendored
View file

@ -19,16 +19,16 @@
# A few files use CRLF endings, even on non-Microsoft platforms.
# Do not warn about trailing whitespace with these files.
*.bat -whitespace
admin/charsets/mapfiles/PTCP154 -whitespace
leim/MISC-DIC/cangjie-table.b5 -whitespace
leim/MISC-DIC/cangjie-table.cns -whitespace
leim/MISC-DIC/pinyin.map -whitespace
lib-src/update-game-score.exe.manifest -whitespace
nt/nmake.defs -whitespace
test/etags/c-src/dostorture.c -whitespace
test/etags/cp-src/c.C -whitespace
test/etags/html-src/algrthms.html -whitespace
*.bat whitespace=cr-at-eol
admin/charsets/mapfiles/PTCP154 whitespace=cr-at-eol
leim/MISC-DIC/cangjie-table.b5 whitespace=cr-at-eol
leim/MISC-DIC/cangjie-table.cns whitespace=cr-at-eol
leim/MISC-DIC/pinyin.map whitespace=cr-at-eol
lib-src/update-game-score.exe.manifest whitespace=cr-at-eol
nt/nmake.defs whitespace=cr-at-eol
test/etags/c-src/dostorture.c whitespace=cr-at-eol
test/etags/cp-src/c.C whitespace=cr-at-eol
test/etags/html-src/algrthms.html whitespace=cr-at-eol
# The upstream maintainer does not want to remove trailing whitespace.
doc/misc/texinfo.tex -whitespace=blank-at-eol