From 9ed18cf8d03731f980e28c70e492c7087e84b14a Mon Sep 17 00:00:00 2001 From: oh-tarnished Date: Mon, 18 May 2026 12:00:38 +0530 Subject: [PATCH 1/3] Add .gitattributes to configure Linguist for Protocol Buffer files Signed-off-by: oh-tarnished --- .gitattributes | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ecbd57d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,13 @@ +# Map custom extension to Protocol Buffer +*.protobuf linguist-language=Protocol Buffer + +# In case you also have .proto, make sure they’re counted +*.proto linguist-detectable=true + +# If your files live under paths Linguist normally ignores, un-ignore them: +vendor/** linguist-vendored=false +third_party/** linguist-vendored=false + +# If you generated any .proto files and Linguist guessed “generated”, override it: +*.proto linguist-generated=false +*.protobuf linguist-generated=false \ No newline at end of file From 0916b23e3e4120727537b390747a32f9cbb10d16 Mon Sep 17 00:00:00 2001 From: oh-tarnished Date: Wed, 20 May 2026 23:09:26 +0530 Subject: [PATCH 2/3] Update .gitattributes to configure Linguist for .proto files Signed-off-by: oh-tarnished --- .gitattributes | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitattributes b/.gitattributes index ecbd57d..7f23b0a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,13 +1 @@ -# Map custom extension to Protocol Buffer -*.protobuf linguist-language=Protocol Buffer - -# In case you also have .proto, make sure they’re counted -*.proto linguist-detectable=true - -# If your files live under paths Linguist normally ignores, un-ignore them: -vendor/** linguist-vendored=false -third_party/** linguist-vendored=false - -# If you generated any .proto files and Linguist guessed “generated”, override it: -*.proto linguist-generated=false -*.protobuf linguist-generated=false \ No newline at end of file +*.proto linguist-language=Protocol Buffer From db768d5e51cd865e271a4bd32e7c76724498545d Mon Sep 17 00:00:00 2001 From: oh-tarnished Date: Wed, 20 May 2026 23:12:03 +0530 Subject: [PATCH 3/3] Update .gitattributes to mark .proto files as linguist-detectable Signed-off-by: oh-tarnished --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 7f23b0a..b6ae359 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -*.proto linguist-language=Protocol Buffer +*.proto linguist-detectable \ No newline at end of file