summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-03 02:46:52 +0800
committerMeco Man <[email protected]>2021-03-03 03:12:30 +0800
commit87975c56e82c474dc99067d7758feadab61faa03 (patch)
treef9cb486da355e2f34604578c5703ac02c357452e /.gitattributes
parentfab4c5ebb13fd92273de8727c0f18d53716295ff (diff)
[.gitattributes] 解决github显示C++代码比例虚高的问题
Diffstat (limited to '.gitattributes')
-rwxr-xr-x.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 4821411509..b689c5b468 100755
--- a/.gitattributes
+++ b/.gitattributes
@@ -40,3 +40,8 @@ COPYING text
*.sct -text
*.xsd -text
Jamfile -text
+
+*.c linguist-language=C
+*.C linguist-language=C
+*.h linguist-language=C
+*.H linguist-language=C