From 4077dad871377fba8fd66d1dddb6741adaa6212e Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Wed, 26 Jul 2023 19:18:01 +0200 Subject: [PATCH] [skip ci] Hide generated files from diff via .gitattributes (#11802) --- .gitattributes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index a5318009efd..ccf0353eec4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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