From d005b91420b7b59c8959818afe650f40c8b5bc29 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Tue, 23 Feb 2021 09:13:13 -0600 Subject: [PATCH] Instruct GH to collapse certain file diffs by default Since these are generated, viewing their diff is not of much value when viewing a commit or PR. See https://github.com/github/linguist#using-gitattributes --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..541c264866 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +**/zz_generated.*.go linguist-generated=true +BUILD.bazel linguist-generated=true +bindata.go linguist-generated=true +/docs/cli/** linguist-generated=true +/protokube/pkg/gossip/mesh/mesh.pb.go linguist-generated=true +/protokube/pkg/gossip/mesh/mesh.proto linguist-generated=true +/vendor/** linguist-generated=true