[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

4
.gitattributes vendored
View file

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