commit | c7b1f2dc66f4ff42d20a4900758c636292074e04 | [log] [tgz] |
---|---|---|
author | Petr Zemek <s3rvac@gmail.com> | Sun Jan 14 13:40:54 2018 +0100 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Sun Jan 14 20:42:20 2018 +0800 |
tree | bec8efb8aaa80015cf119ed9dd9837d3185db0f0 | |
parent | bdbc57de63725a98732ddc34b48de96f8ada66f2 [diff] |
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.
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..03e638d --- /dev/null +++ b/.gitattributes
@@ -0,0 +1 @@ +/arch/**/*.inc linguist-language=C