From 88259bbbe6ec557da068f16168f78570abaf63e2 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Thu, 23 Apr 2020 23:37:00 +0900 Subject: [PATCH] gitattributes: Tell linguist to ignore test pattern files Tell GitHub linguist to ignore the `.pat` generated test pattern files that are used by the CMSIS-DSP tests (and potentially others as well, in the future). This prevents GitHub from classifying them as "Max language" in the language statistics. Signed-off-by: Stephanos Ioannidis --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index c739a43a82f..0f392e18679 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,3 +3,7 @@ .gitattributes export-ignore .gitignore export-ignore .mailmap export-ignore + +# Tell linguist that generated test pattern files should not be included in the +# language statistics. +*.pat linguist-generated=true