Exclude LLVM files from whitespace checks
authorPeter Eisentraut
Wed, 27 Nov 2024 10:08:12 +0000 (11:08 +0100)
committerPeter Eisentraut
Wed, 27 Nov 2024 10:10:42 +0000 (11:10 +0100)
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.

.gitattributes

index 57ef0daea0e3d2e6a006c330fc34abe47b856461..3e11d012f5cdee2940fb1e5d13986f221fa46ff6 100644 (file)
@@ -25,9 +25,12 @@ src/interfaces/libpq/test/expected.out   whitespace=-blank-at-eof
 # 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/regex/re_syntax.n      -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