xref: /php-src/.gitattributes (revision 46b6ad6d)
1# Replace $Id$ strings with 40-character hexadecimal blob object name.
2/ext/ext_skel.php               ident
3/ext/phar/phar/pharcommand.inc  ident
4/ext/dba/libinifile/inifile.c   ident
5/ext/dba/libflatfile/flatfile.c ident
6/ext/dba/libcdb/cdb_make.c      ident
7/ext/dba/libcdb/cdb.c           ident
8/run-tests.php                  ident
9
10# A custom merge driver to avoid automatic merges. These are manually merged.
11# See https://wiki.php.net/vcs/gitfaq
12/NEWS                merge=NEWS
13/UPGRADING           merge=NEWS
14/UPGRADING.INTERNALS merge=NEWS
15
16# Configure proper diff drivers to improve the context lines in the output
17# of git diff and to improve token splitting for --word-diff.
18*.phpt diff=php
19*.php diff=php
20*.[ch] diff=cpp
21
22# Collapse generated files within git and pull request diff.
23**/*_arginfo.h linguist-generated -diff
24/main/gdb_inlined_script.c linguist-generated -diff
25/Zend/zend_vm_execute.h linguist-generated -diff
26/Zend/zend_vm_handlers.h linguist-generated -diff
27/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
28
29# The OSS fuzz files are binary
30/ext/date/tests/ossfuzz*.txt binary
31
32# Vendored libraries
33/ext/dom/lexbor/lexbor linguist-vendored
34