X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a5f90a37622e9d0cb066da413846c1c3f6900b51..a73de71b848da17719dcbbb9206302c09e0f79b9:/.gitattributes diff --git a/.gitattributes b/.gitattributes index c568ba293d..5ccf9a5eab 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # Attributes of Emacs files in the Git repository. -# Copyright 2015 Free Software Foundation, Inc. +# Copyright 2015-2016 Free Software Foundation, Inc. # This file is part of GNU Emacs. @@ -19,22 +19,34 @@ # 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 +*.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 # Some files should not be treated as text when diffing or merging. +*.cur binary *.gpg binary *.gz binary *.icns binary *.ico binary *.pbm binary *.pdf binary +*.pif binary *.png binary *.sig binary *.tiff binary -test/automated/data/decompress/foo-gzipped binary +etc/e/eterm-color binary + +# Hooks for non-default diff hunk headers; see autogen.sh. +*.el diff=elisp +*.texi diff=texinfo