summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2022-01-20 21:06:47 (GMT)
committerGitHub <noreply@github.com>2022-01-20 21:06:47 (GMT)
commit876ade1ae3a805b546a211fd7303253c10395569 (patch)
tree94b13e8289b48e72d265e03a8ff4d17b73eb4946 /.gitattributes
parent1fb1f5d8bd084c20f0a5fde547b563c08d103f09 (diff)
downloadcpython-876ade1ae3a805b546a211fd7303253c10395569.zip
cpython-876ade1ae3a805b546a211fd7303253c10395569.tar.gz
cpython-876ade1ae3a805b546a211fd7303253c10395569.tar.bz2
[3.10] Mark all clinic headers as generated (GH-30679). (GH-30726)
(cherry picked from commit 71734d0b9ca584bcbdcb2fb44ae16bb2fbfcaf6e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes7
1 files changed, 2 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes
index c66e765..be369d2 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -40,11 +40,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/importlib.h linguist-generated=true
Python/importlib_external.h linguist-generated=true
Include/internal/pycore_ast.h linguist-generated=true