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:20:46 +0100
commit96447e9c817143071826c9a5b129f61d17c4ae2e (patch)
tree8f53648508e78dbfe06497d6bbddbc24810ed618
parenta62d90f2e5cb55d0c8998b63120d6db3c55df866 (diff)
downloadpostgresql-96447e9c817143071826c9a5b129f61d17c4ae2e.tar.gz
postgresql-96447e9c817143071826c9a5b129f61d17c4ae2e.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 e9ff4a56bd2..830313e90f3 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -22,9 +22,12 @@ 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
src/tools/pg_bsd_indent/* -whitespace