From 8fe89aa3e099450a7bc9c2d5cbb1a9b94bdae682 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 5 Feb 2025 15:55:23 +0900 Subject: [PATCH] gitattributes: Disable linguist detection for tools/tidy.sh --- .gitattributes | 1 + tools/tidy.sh | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5b92c190..38c1999b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ * text=auto eol=lf +tools/tidy.sh linguist-detectable=false .github/.cspell/rust-dependencies.txt linguist-generated manifests/** linguist-generated diff --git a/tools/tidy.sh b/tools/tidy.sh index 54d41220..da034ecb 100755 --- a/tools/tidy.sh +++ b/tools/tidy.sh @@ -21,9 +21,10 @@ cd -- "$(dirname -- "$0")"/.. # - clang-format (if C/C++/Protobuf code exists) # - parse-dockerfile (if Dockerfile exists) # -# This script is shared with other repositories, so there may also be -# checks for files not included in this repository, but they will be -# skipped if the corresponding files do not exist. +# This script is shared by projects under github.com/taiki-e, so there may also +# be checks for files not included in this repository, but they will be skipped +# if the corresponding files do not exist. +# It is not intended for manual editing. retry() { for i in {1..10}; do