Describe the bug
I have two relevant files in my project root: foo.html and .gitattributes. I want to exclude foo.html from the linguist's calculation. In .gitattributes I tried doing the following:
foo.html -linguist-documentation # As in the documentation
foo.html linguist-documentation # Different from the documentation
In the latter case, when I run git check-attr linguist-documentation foo.html it says the attribute is set to true. In neither cases, however, is HTML excluded from linguist's report, i.e. I get the same result with or without the addition of .gitattributes file.
Expected behaviour
HTML should be excluded from the report.
Related discussion
None that I could find.
Additional notes
None.
Describe the bug
I have two relevant files in my project root:
foo.htmland.gitattributes. I want to excludefoo.htmlfrom the linguist's calculation. In.gitattributesI tried doing the following:In the latter case, when I run
git check-attr linguist-documentation foo.htmlit says the attribute is set to true. In neither cases, however, is HTML excluded from linguist's report, i.e. I get the same result with or without the addition of.gitattributesfile.Expected behaviour
HTML should be excluded from the report.
Related discussion
None that I could find.
Additional notes
None.