From 1f3f53e63cc69b2e1bbfc863310875d47b2fdd70 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Wed, 19 Jan 2022 01:23:02 +0100 Subject: [PATCH 1/2] Mark _all_ clinic headers as generated --- .gitattributes | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3363ea8e4e7444..673a27d2c42c1f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -42,10 +42,7 @@ PC/readme.txt text eol=crlf # Generated files # https://github.com/github/linguist#generated-code -Modules/clinic/*.h linguist-generated=true -Objects/clinic/*.h linguist-generated=true -PC/clinic/*.h linguist-generated=true -Python/clinic/*.h linguist-generated=true +**/clinic/*.h linguist-generated=true Python/deepfreeze/*.c linguist-generated=true Python/frozen_modules/*.h linguist-generated=true Python/frozen_modules/MANIFEST linguist-generated=true From 30765412c37e2eb98ee1fb84b361c6afb4a422ee Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Wed, 19 Jan 2022 07:07:30 +0100 Subject: [PATCH 2/2] Update .gitattributes Co-authored-by: Jelle Zijlstra --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 673a27d2c42c1f..05b0420714e1bf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -41,7 +41,7 @@ PCbuild/readme.txt text eol=crlf PC/readme.txt text eol=crlf # Generated files -# https://github.com/github/linguist#generated-code +# https://github.com/github/linguist/blob/master/docs/overrides.md **/clinic/*.h linguist-generated=true Python/deepfreeze/*.c linguist-generated=true Python/frozen_modules/*.h linguist-generated=true