From de4377e899ce25c4ea0c15fac934151b9c0bf563 Mon Sep 17 00:00:00 2001 From: Petr Zemek Date: Sun, 14 Jan 2018 13:40:54 +0100 Subject: [PATCH] Fix language statistics by considering *.inc files to be C files. (#1078) Otherwise, they are considered to be PHP or C++ files, which causes GitHub's language statistics to show that Capstone is written mostly in PHP (42.2%) and C++ (33.1%), which is nonsense. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..03e638de --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +/arch/**/*.inc linguist-language=C