aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-11-27 11:08:12 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-11-27 11:09:48 +0100
commit26b74b3cad7b585626569dd536f2c1fafac20a3e (patch)
treef193dd31f933d4f272d1c1e9d49f0fb98b12a9a5
parentf00c401c65afa2cf18f0d67d13eeb382df84c37b (diff)
downloadpostgresql-26b74b3cad7b585626569dd536f2c1fafac20a3e.tar.gz
postgresql-26b74b3cad7b585626569dd536f2c1fafac20a3e.zip
Exclude LLVM files from whitespace checks
Commit 9044fc1d45a added some files from upstream LLVM. These files have different whitespace rules, which make the git whitespace checks powered by gitattributes fail. To fix, add those files to the exclude list.
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index f183d83a43b..63178f91700 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -23,8 +23,11 @@ src/interfaces/ecpg/test/expected/* -whitespace
# These files are maintained or generated elsewhere. We take them as is.
configure -whitespace
ppport.h -whitespace
+src/backend/jit/llvm/SectionMemoryManager.cpp -whitespace
+src/backend/jit/llvm/SectionMemoryManager.LICENSE -whitespace
src/backend/regex/COPYRIGHT -whitespace
src/backend/snowball/libstemmer/*.c -whitespace
src/backend/utils/mb/Unicode/*-std.txt -whitespace
+src/include/jit/SectionMemoryManager.h -whitespace
src/include/snowball/libstemmer/* -whitespace
src/timezone/data/* -whitespace