From 87a8348ecfe3be69299a08ae1393fcd9614a3cbc Mon Sep 17 00:00:00 2001 From: Ben Liao Date: Tue, 1 Aug 2023 12:07:57 -0700 Subject: [PATCH] [MISC] Small changes to .gitattributes - Ignore everything in lowcar/lib for language stats - Ensure that .h files in lowcar/devices classified as C++ --- .gitattributes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 8063783f..15f14eca 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,8 @@ # in language profile, ignore third-party libraries used in lowcar -lowcar/lib/* linguist-vendored +lowcar/lib/** linguist-vendored + +# force everything in the lowcar/devices directory to be classified as C++ +lowcar/devices/** linguist-language=C++ # force the Makefile_defs file to be classified as Makefile and be syntax highlighted as Makefile Makefile_defs linguist-language=Makefile \ No newline at end of file