Show ancestor buffer in 3way merges
[emacs.git] / .gitattributes
blob59cc2eded5d779b8894e51b82085b3b148f95669
1 # Attributes of Emacs files in the Git repository.
3 # Copyright 2015-2017 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 <http://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 nt/nmake.defs whitespace=cr-at-eol
28 test/etags/c-src/dostorture.c whitespace=cr-at-eol
29 test/etags/cp-src/c.C whitespace=cr-at-eol
30 test/etags/html-src/algrthms.html whitespace=cr-at-eol
32 # The upstream maintainer does not want to remove trailing whitespace.
33 doc/misc/texinfo.tex -whitespace=blank-at-eol
35 # Some files should not be treated as text when diffing or merging.
36 *.cur binary
37 *.gpg binary
38 *.gz binary
39 *.icns binary
40 *.ico binary
41 *.pbm binary
42 *.pdf binary
43 *.pif binary
44 *.png binary
45 *.sig binary
46 *.tiff binary
47 etc/e/eterm-color binary
49 # Git's builtin diff hunk header styles.
50 *.ada diff=ada
51 *.[ch] diff=cpp
52 *.cc diff=cpp
53 *.cpp diff=cpp
54 *.hh diff=cpp
55 *.for diff=fortran
56 *.html diff=html
57 *.shtml diff=html
58 *.xml diff=html
59 *.java diff=java
60 *.m diff=objc
61 *.perl diff=perl
62 *.pl diff=perl
63 *.php diff=php
64 *.py diff=python
65 *.rb diff=ruby
66 *.ruby diff=ruby
67 *.tex diff=tex
69 # Hooks for non-default diff hunk headers; see autogen.sh.
70 *.el diff=elisp
71 *.ac diff=m4
72 *.m4 diff=m4
73 *.mk diff=make
74 *[Mm]akefile diff=make
75 Makefile.in diff=make
76 *.sh diff=shell
77 *.texi diff=texinfo
79 # Diff hunk header special-case file names.
80 admin/build-configs diff=perl
81 admin/charsets/mapconv diff=shell
82 admin/diff-tar-files diff=shell
83 admin/make-emacs diff=perl
84 admin/merge-gnulib diff=shell
85 admin/merge-pkg-config diff=shell
86 admin/quick-install-emacs diff=shell
87 admin/update-copyright diff=shell
88 admin/update_autogen diff=shell
89 build-aux/git-hooks/commit-msg diff=shell
90 build-aux/git-hooks/pre-commit diff=shell
91 build-aux/gitlog-to-emacslog diff=shell
92 build-aux/make-info-dir diff=shell
93 build-aux/move-if-change diff=shell
94 build-aux/msys-to-w32 diff=shell
95 build-aux/update-subdirs diff=shell
96 lib-src/rcs2log diff=shell
97 /make-dist diff=shell