Allow `message-replace-header' to take a list of AFTERs
[emacs.git] / .gitattributes
bloba99cf12af5e1595899cf77d1120ee8fa31a350d4
1 # Attributes of Emacs files in the Git repository.
3 # Copyright 2015-2021 Free Software Foundation, Inc.
5 # This file is part of GNU Emacs.
7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
20 # A few files use CRLF endings, even on non-Microsoft platforms.
21 # Do not warn about trailing whitespace with these files.
22 *.bat whitespace=cr-at-eol
23 admin/charsets/mapfiles/PTCP154 whitespace=cr-at-eol
24 leim/MISC-DIC/cangjie-table.b5 whitespace=cr-at-eol
25 leim/MISC-DIC/cangjie-table.cns whitespace=cr-at-eol
26 leim/MISC-DIC/pinyin.map whitespace=cr-at-eol
27 test/manual/etags/c-src/dostorture.c whitespace=cr-at-eol
28 test/manual/etags/cp-src/c.C whitespace=cr-at-eol
29 test/manual/etags/html-src/algrthms.html whitespace=cr-at-eol
31 # The todo-mode file format includes trailing whitespace.
32 *.tod[aorty] -whitespace=blank-at-eol
34 # Some files should not be treated as text when diffing or merging.
35 *.cur binary
36 *.gpg binary
37 *.gz binary
38 *.icns binary
39 *.ico binary
40 *.pbm binary
41 *.pdf binary
42 *.pif binary
43 *.png binary
44 *.sig binary
45 *.tiff binary
46 etc/e/eterm-color binary
48 # Git's builtin diff hunk header styles.
49 *.ad[abs] diff=ada
50 *.[Cch] diff=cpp
51 *.cc diff=cpp
52 *.[ch]pp diff=cpp
53 *.hh diff=cpp
54 *.for diff=fortran
55 *.html diff=html
56 *.shtml diff=html
57 *.xml diff=html
58 *.java diff=java
59 *.[HMm] diff=objc
60 *.pas diff=pascal
61 *.perl diff=perl
62 *.pl diff=perl
63 *.php diff=php
64 *.py diff=python
65 *.rb diff=ruby
66 *.tex diff=tex
68 # Hooks for non-default diff hunk headers; see autogen.sh.
69 *.el diff=elisp
70 *.ac diff=m4
71 *.m4 diff=m4
72 *.mk diff=make
73 *[Mm]akefile diff=make
74 Makefile.in diff=make
75 *[-.]sh diff=shell
76 *.texi diff=texinfo
78 # Diff hunk header special-case file names.
79 admin/build-configs diff=perl
80 admin/charsets/mapconv diff=shell
81 admin/diff-tar-files diff=shell
82 admin/make-emacs diff=perl
83 admin/merge-gnulib diff=shell
84 admin/merge-pkg-config diff=shell
85 admin/quick-install-emacs diff=shell
86 admin/update-copyright diff=shell
87 admin/update_autogen diff=shell
88 build-aux/config.guess diff=shell
89 build-aux/config.sub diff=shell
90 build-aux/git-hooks/commit-msg diff=shell
91 build-aux/git-hooks/pre-commit diff=shell
92 build-aux/gitlog-to-emacslog diff=shell
93 build-aux/make-info-dir diff=shell
94 build-aux/move-if-change diff=shell
95 build-aux/msys-to-w32 diff=shell
96 build-aux/update-subdirs diff=shell
97 lib-src/rcs2log diff=shell
98 /make-dist diff=shell