Skip to content

Commit 85968c3

Browse files
committed
Mark configure file as generated in .gitattributes
configure is regenerated from configure.ac using a custom container with appropriate version of tools (quay.io/tiran/cpython_autoconf by Christian Heimes). As a result, configure falls into the same category as files generated by Argument Clinic, Freeze and Parser/asdl_c.py. Due to size and churn of these artifacts, they are marked in .gitattributes as generated so GitHub Pull Request Diff Viewer collapses them into a short notification. This commit does the same for configure. Actually, configure diff is so large that sometimes it crosses a threshold and GitHub collapses it by force with "Large diffs are not rendered by default" or even "xxx additions, yyy deletions not shown because the diff is too large. Please use a local Git client to view these changes". See pythonGH-29756 as an extreme example and <https://github.com/python/cpython/commits/main/configure> for an average.
1 parent 036bbb1 commit 85968c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Include/token.h linguist-generated=true
6060
Lib/token.py linguist-generated=true
6161
Parser/token.c linguist-generated=true
6262
Programs/test_frozenmain.h linguist-generated=true
63+
configure linguist-generated=true
6364

6465
# Language aware diff headers
6566
# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more

0 commit comments

Comments
 (0)