[chore] Set some additional git attributes (#3454)

* .go files are now tagged with diff=go for better diffs
* go.sum is tagged with generated which suppresses the diff
* go.sum is tagged with merge=ours to reduce merge conflicts

go.mod isn't tagged with generated since it's useful to see it on
dependency bump PRs.
This commit is contained in:
Daenney 2024-10-17 18:24:03 +02:00 committed by GitHub
parent 2a437685fc
commit 9f6a1f7e79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
.gitattributes vendored
View File

@ -1 +1,3 @@
*.go diff=golang
go.sum linguist-generated merge=ours
/vendor/ linguist-generated