From c41c1f90a6b8af60606c8e2f31b7cff0fa4732cc Mon Sep 17 00:00:00 2001 From: Daenney Date: Tue, 2 May 2023 22:11:41 +0200 Subject: [PATCH] [chore] Hide vendor from diffs (#1729) Linguist already classifies vendor/ as vendored files, meaning they don't count towards things like a repo language stat, but are still shows in diffs. By classifying them as generated instead they're not only excluded from langauge stats but also hidden in diffs. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..fd6464298 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/vendor/ linguist-generated