From 7fd8f0ec48082948e53251bf41f01ba64f2387f7 Mon Sep 17 00:00:00 2001 From: Steffen Date: Sun, 23 Mar 2025 17:01:33 +0100 Subject: [PATCH] make GitHub recognize headers as C code The .h extension is ambiguous. However, it's quite misleading if GitHub's Linguist tags the whole repo as C++ because of that. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..15a5c58 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.h linguist-language=C