From 8f86998866f6f2c8aa14e0dd430e61fd25cff720 Mon Sep 17 00:00:00 2001 From: Seppe Stas Date: Tue, 19 Sep 2017 19:02:06 +0200 Subject: [PATCH] Add some linguist-detectable attributes (#3806) This allows to test a use-case where markdown should be reported in the language stats (e.g because the main purpose of the repo is to hold prose in markdown format) while HTML should be excluded from the language stats (e.g because it's example output). --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 1adc275f..670b63eb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,5 @@ Rakefile linguist-generated test/fixtures/* linguist-vendored=false README.md linguist-documentation=false samples/Arduino/* linguist-documentation +samples/Markdown/*.md linguist-detectable=true +samples/HTML/*.html linguist-detectable=false