diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2018-06-15 15:45:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 15:45:02 (GMT) |
commit | c1897eda3d47b182977459a1e9fed4b3854a10a0 (patch) | |
tree | 6d7ada2544e8d89ff13cfe59596493c72ac3c7d5 /.gitattributes | |
parent | d134809cd3764c6a634eab7bb8995e3e2eff14d5 (diff) | |
download | cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.zip cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.tar.gz cpython-c1897eda3d47b182977459a1e9fed4b3854a10a0.tar.bz2 |
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 0a998a5..4a487c3 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 |