]> code.delx.au - gnu-emacs/commitdiff
Update .gitattributes for DOS EOL files
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 Jun 2015 15:01:49 +0000 (18:01 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 Jun 2015 15:01:49 +0000 (18:01 +0300)
* .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
CRLF end-of-line format.

.gitattributes

index 4bcb7be737764c02ba6e0354bade4b924e34bd94..21af4e68770c8a595933eed068cc93ded8eee8ff 100644 (file)
 
 # 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