From 82b0dc81c7d84d7037bd8290b83369fd4dbe928a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 7 Jun 2022 09:49:36 +0200 Subject: [PATCH] Mark `*_arginfo.h` as `linguist-generated` 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 514999ffccfeb..38df563e43ad9 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