diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2018-06-16 00:45:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 00:45:02 +0900 |
commit | c1897eda3d47b182977459a1e9fed4b3854a10a0 (patch) | |
tree | 6d7ada2544e8d89ff13cfe59596493c72ac3c7d5 /.gitattributes | |
parent | bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) (diff) | |
download | cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.tar.gz cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.tar.bz2 cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.zip |
gitattribute: Mark generated files (GH-7619)
Marked files are collapsed by default in Github pull request.
https://github.com/github/linguist#generated-code
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 0a998a5369f..4a487c3c2a1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -37,3 +37,20 @@ Lib/test/test_importlib/data01/* -text *.proj text eol=crlf PCbuild/readme.txt text eol=crlf PC/readme.txt text eol=crlf + +# Generated files +# https://github.com/github/linguist#generated-code +Include/graminit.h linguist-generated=true +Python/graminit.h linguist-generated=true +Modules/clinic/*.h linguist-generated=true +Objects/clinic/*.h linguist-generated=true +PC/clinic/*.h linguist-generated=true +Python/clinic/*.h linguist-generated=true +Python/importlib.h linguist-generated=true +Python/importlib_external.h linguist-generated=true +Include/Python-ast.h linguist-generated=true +Python/Python-ast.c linguist-generated=true +Include/opcode.h linguist-generated=true +Python/opcode_targets.h linguist-generated=true +Objects/typeslots.inc linguist-generated=true +Modules/unicodedata_db.h linguist-generated=true |