Преглед на файлове

[.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
 *.sct -text
 *.xsd -text
 *.xsd -text
 Jamfile -text
 Jamfile -text
+
+*.c linguist-language=C
+*.C linguist-language=C
+*.h linguist-language=C
+*.H linguist-language=C