Skip to content

Commit 429ee0b

Browse files
authored
Merge pull request #1815 from ubunatic/git-attrs
Tag generated assertions as non-generated in new .gitattributes
2 parents feb1324 + bd59f5d commit 429ee0b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is used to configure Git attributes for the repository.
2+
# It is particularly useful for managing how generated code is treated in pull requests.
3+
# For more information, see:
4+
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
5+
6+
# Code for assertions and requirements is generated automatically by _codegen.
7+
# This also updates code comments and code examples in the documentation.
8+
# These comments and examples must be reviewed when they change,
9+
# since updates to the generated code comments may not always be correct.
10+
assert/*.go linguist-generated=false
11+
require/*.go linguist-generated=false

0 commit comments

Comments
 (0)