Browse Source

Merge pull request #4413 from mysterywolf/gitattributes

[.gitattributes] 解决github显示C++代码比例虚高的问题
Bernard Xiong 4 years ago
parent
commit
31fdf98e17
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .gitattributes

+ 5 - 0
.gitattributes

@@ -1,3 +1,8 @@
+*.c linguist-language=C
+*.C linguist-language=C
+*.h linguist-language=C
+*.H linguist-language=C
+
 * text=auto
 
 *.S text