branch: elpa/racket-mode commit b58836659df509b01d912cb3027e55c26de08e6e Author: Greg Hendershott <g...@greghendershott.com> Commit: Greg Hendershott <g...@greghendershott.com>
Exclude test example files from GitHub project language stats Use a .gitattributes file as documented here: https://github.com/github-linguist/linguist/blob/main/docs/overrides.md Motivation: Currently the very large core.scm file causes the project "Languages" stats to report "Scheme 10%", whereas that's really just a "vendored" example used in a test (Scheme isn't used in the implementation, at all). Likewise the very large class-internal.rkt skews the Racket vs. Emacs Lisp stats. --- test/example/.gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/example/.gitattributes b/test/example/.gitattributes new file mode 100644 index 0000000000..5bd11e3778 --- /dev/null +++ b/test/example/.gitattributes @@ -0,0 +1,2 @@ +# Exclude from GitHub language stats all test example files: +* linguist-vendored