summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-03-03 08:43:43 +0800
committerGitHub <[email protected]>2021-03-03 08:43:43 +0800
commit31fdf98e1728dbcf23ddd1ebe1357b6f52ed10f3 (patch)
tree7e5cf605d4769d471bdf061fd489b93c44888a10
parent339ebf3c16e4c067f4ddfb7880709a534d41cf53 (diff)
parent9c1b6e26492191dd02087f3e1b6639b8a9340715 (diff)
Merge pull request #4413 from mysterywolf/gitattributes
[.gitattributes] 解决github显示C++代码比例虚高的问题
-rwxr-xr-x.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 4821411509..deeee5e25c 100755
--- a/.gitattributes
+++ b/.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