From dd7ba669b21cd3f1b5b5a84eb83942c61c60bf57 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 17 Feb 2023 14:14:27 +0200 Subject: [PATCH] linguist language overrides & excludes in .gitattributes [CI SKIP] --- .gitattributes | 9 ++++++++- PGP/.gitattributes | 1 + blog/.gitattributes | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 PGP/.gitattributes create mode 100644 blog/.gitattributes diff --git a/.gitattributes b/.gitattributes index 188d994..6c3f333 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,7 @@ # Line normalisation, GitHub language detection * text=auto linguist-detectable -# These don't feel like mine' +# These don't feel like mine _config.yml/** text=auto -linguist-detectable _data/** text=auto -linguist-detectable _includes/** text=auto -linguist-detectable @@ -9,6 +9,13 @@ _layouts/** text=auto -linguist-detectable _matrix/** text=auto -linguist-detectable _sass/** text=auto -linguist-detectable +# Unnecessary for statistics +Gemfile text linguist-vendored +Gemfile.lock text linguist-generated + +# Signature files misdetected as "Standard ML" +*.sig text -linguist-detectable + # LFS *.jpeg filter=lfs diff=lfs merge=lfs -text *.jpg filter=lfs diff=lfs merge=lfs -text diff --git a/PGP/.gitattributes b/PGP/.gitattributes new file mode 100644 index 0000000..bb2ad32 --- /dev/null +++ b/PGP/.gitattributes @@ -0,0 +1 @@ +*.txt text linguist-language=Public-Key diff --git a/blog/.gitattributes b/blog/.gitattributes new file mode 100644 index 0000000..5c92059 --- /dev/null +++ b/blog/.gitattributes @@ -0,0 +1 @@ +*.xml text -linguist-detectable