Exclude contraband generated files from diff by default

In both local git diff and GitHub diff you can still see the diff if you
want. This is just to remove the noise by default.
This commit is contained in:
Dale Wijnand 2017-12-14 12:25:49 +00:00
parent 3d45f82e75
commit 843210598b
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 4 additions and 0 deletions

4
.gitattributes vendored
View File

@ -5,3 +5,7 @@
# to native line endings on checkout.
*.scala text
*.java text
# Exclude contraband generated files from diff (by default - you can see it if you want)
**/contraband-scala/**/* -diff merge=ours
**/contraband-scala/**/* linguist-generated=true