[skip ci] Hide generated files from diff via .gitattributes (#11802)

This commit is contained in:
Ilija Tovilo 2023-07-26 19:18:01 +02:00 committed by GitHub
parent 3b68e84341
commit 4077dad871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
.gitattributes vendored
View File

@ -19,11 +19,11 @@
*.php diff=php
*.[ch] diff=cpp
# Collapse generated files within a pull request.
**/*_arginfo.h linguist-generated
/Zend/zend_vm_execute.h linguist-generated
/Zend/zend_vm_handlers.h linguist-generated
/Zend/zend_vm_opcodes.[ch] linguist-generated
# Collapse generated files within git and pull request diff.
**/*_arginfo.h linguist-generated -diff
/Zend/zend_vm_execute.h linguist-generated -diff
/Zend/zend_vm_handlers.h linguist-generated -diff
/Zend/zend_vm_opcodes.[ch] linguist-generated -diff
# The OSS fuzz files are bunary
/ext/date/tests/ossfuzz*.txt binary