From 94183d3e8b476b815e6d3f3f5bbfb7383b74d31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 7 Jun 2022 13:35:09 +0200 Subject: [PATCH] [skip ci] Mark `*_arginfo.h` as `linguist-generated` (#8722) The generated `*_arginfo.h` usually cannot be usefully reviewed within a PR. Collapse them by default by adding the `linguist-generated` attribute to reduce the visual noise. see https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github see https://github.com/github/linguist/blob/master/docs/overrides.md#summary --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index 514999ffccf..38df563e43a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,3 +18,6 @@ *.phpt diff=php *.php diff=php *.[ch] diff=cpp + +# Collapse the generated arginfo.h files within a pull request. +**/*_arginfo.h linguist-generated