Переглянути джерело

[.gitattributes] 解决github显示C++代码比例虚高的问题

Meco Man 4 роки тому
батько
коміт
87975c56e8
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      .gitattributes

+ 5 - 0
.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