summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-01-19 16:54:45 (GMT)
committerGitHub <noreply@github.com>2022-01-19 16:54:45 (GMT)
commit71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e (patch)
tree9750711d609a3922805e31f6e38f282e6a80cfad /.gitattributes
parent1faf7c4effbe8b66f9b0347cab570fb3b5c91fb0 (diff)
downloadcpython-71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e.zip
cpython-71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e.tar.gz
cpython-71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e.tar.bz2
Mark all clinic headers as generated (GH-30679)
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes7
1 files changed, 2 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes
index 3363ea8..05b0420 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -41,11 +41,8 @@ PCbuild/readme.txt text eol=crlf
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
+# 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
Python/frozen_modules/MANIFEST linguist-generated=true