From ba74a268a4c00ac91779531dbcd0bcdbb973a1f1 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 26 Nov 2021 01:27:56 +0300 Subject: [PATCH] Forbid files that differ only by character case --- utils/check-style/check-style | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/check-style/check-style b/utils/check-style/check-style index a3f0612510d..f3df2dc9543 100755 --- a/utils/check-style/check-style +++ b/utils/check-style/check-style @@ -312,3 +312,5 @@ then echo "ErrorCodes.cpp contains non-unique error codes" fi +# Forbid files that differ only by character case +find $ROOT_PATH | sort -f | uniq -i -c | awk '{ if ($1 > 1) print }'