From 87975c56e82c474dc99067d7758feadab61faa03 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Wed, 3 Mar 2021 02:46:52 +0800 Subject: [.gitattributes] 解决github显示C++代码比例虚高的问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 4821411509..b689c5b468 100755 --- a/.gitattributes +++ b/.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 -- cgit v1.3.1 From 9c1b6e26492191dd02087f3e1b6639b8a9340715 Mon Sep 17 00:00:00 2001 From: Meco Jianting Man <920369182@qq.com> Date: Wed, 3 Mar 2021 03:16:53 +0800 Subject: Update .gitattributes --- .gitattributes | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index b689c5b468..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 @@ -40,8 +45,3 @@ COPYING text *.sct -text *.xsd -text Jamfile -text - -*.c linguist-language=C -*.C linguist-language=C -*.h linguist-language=C -*.H linguist-language=C -- cgit v1.3.1