From 0197ca3aba7ac2d26b978258ac5615fd35bfcd25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 21 Mar 2022 21:53:08 +0100 Subject: [PATCH] Fix GitHub language detection for header files Force GitHub to treat .h files as C++ because header files in this repo are almost always C++, not C. Currently some Havok headers are being misdetected as C code. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..c8746e43 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Header files are almost always C++ rather than C +*.h linguist-language=C++