소스 검색

Merge pull request #4413 from mysterywolf/gitattributes

[.gitattributes] 解决github显示C++代码比例虚高的问题
Bernard Xiong 5 년 전
부모
커밋
31fdf98e17
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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
 * text=auto
 
 
 *.S text
 *.S text